Struct google_youtube3::api::CommentThreadSnippet
source · pub struct CommentThreadSnippet {
pub can_reply: Option<bool>,
pub channel_id: Option<String>,
pub is_public: Option<bool>,
pub top_level_comment: Option<Comment>,
pub total_reply_count: Option<u32>,
pub video_id: Option<String>,
}
Expand description
Basic details about a comment thread.
This type is not used in any activity, and only used as part of another schema.
Fields§
§can_reply: Option<bool>
Whether the current viewer of the thread can reply to it. This is viewer specific - other viewers may see a different value for this field.
channel_id: Option<String>
The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id isn’t set the comments refer to the channel itself.
is_public: Option<bool>
Whether the thread (and therefore all its comments) is visible to all YouTube users.
top_level_comment: Option<Comment>
The top level comment of this thread.
total_reply_count: Option<u32>
The total number of replies (not including the top level comment).
video_id: Option<String>
The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment.
Trait Implementations§
source§impl Clone for CommentThreadSnippet
impl Clone for CommentThreadSnippet
source§fn clone(&self) -> CommentThreadSnippet
fn clone(&self) -> CommentThreadSnippet
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CommentThreadSnippet
impl Debug for CommentThreadSnippet
source§impl Default for CommentThreadSnippet
impl Default for CommentThreadSnippet
source§fn default() -> CommentThreadSnippet
fn default() -> CommentThreadSnippet
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CommentThreadSnippet
impl<'de> Deserialize<'de> for CommentThreadSnippet
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for CommentThreadSnippet
impl Serialize for CommentThreadSnippet
impl Part for CommentThreadSnippet
Auto Trait Implementations§
impl RefUnwindSafe for CommentThreadSnippet
impl Send for CommentThreadSnippet
impl Sync for CommentThreadSnippet
impl Unpin for CommentThreadSnippet
impl UnwindSafe for CommentThreadSnippet
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more