[][src]Struct google_youtube3::CommentThreadSnippet

pub struct CommentThreadSnippet {
    pub top_level_comment: Option<Comment>,
    pub can_reply: Option<bool>,
    pub channel_id: Option<String>,
    pub total_reply_count: Option<u32>,
    pub is_public: Option<bool>,
    pub video_id: Option<String>,
}

Basic details about a comment thread.

This type is not used in any activity, and only used as part of another schema.

Fields

top_level_comment: Option<Comment>

The top level comment of this thread.

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.

total_reply_count: Option<u32>

The total number of replies (not including the top level comment).

is_public: Option<bool>

Whether the thread (and therefore all its comments) is visible to all YouTube users.

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

impl Part for CommentThreadSnippet[src]

impl Clone for CommentThreadSnippet[src]

impl Default for CommentThreadSnippet[src]

impl Debug for CommentThreadSnippet[src]

impl Serialize for CommentThreadSnippet[src]

impl<'de> Deserialize<'de> for CommentThreadSnippet[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]