Struct google_youtube3::CommentSnippet [] [src]

pub struct CommentSnippet {
    pub author_channel_url: Option<String>,
    pub author_profile_image_url: Option<String>,
    pub author_display_name: Option<String>,
    pub channel_id: Option<String>,
    pub viewer_rating: Option<String>,
    pub moderation_status: Option<String>,
    pub video_id: Option<String>,
    pub author_channel_id: Option<String>,
    pub parent_id: Option<String>,
    pub published_at: Option<String>,
    pub can_rate: Option<bool>,
    pub text_original: Option<String>,
    pub updated_at: Option<String>,
    pub like_count: Option<u32>,
    pub text_display: Option<String>,
}

Basic details about a comment, such as its author and text.

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

Fields

Link to the author's YouTube channel, if any.

The URL for the avatar of the user who posted the comment.

The name of the user who posted the comment.

The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it's the video's channel.

The rating the viewer has given to this comment. For the time being this will never return RATE_TYPE_DISLIKE and instead return RATE_TYPE_NONE. This may change in the future.

The comment's moderation status. Will not be set if the comments were requested through the id filter.

The ID of the video the comment refers to, if any.

The id of the author's YouTube channel, if any.

The unique id of the parent comment, only set for replies.

The date and time when the comment was orignally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.

Whether the current viewer can rate this comment.

The comment's original raw text as initially posted or last updated. The original text will only be returned if it is accessible to the viewer, which is only guaranteed if the viewer is the comment's author.

The date and time when was last updated . The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.

The total number of likes this comment has received.

The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc.

Trait Implementations

impl Debug for CommentSnippet
[src]

Formats the value using the given formatter.

impl Clone for CommentSnippet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for CommentSnippet
[src]

Returns the "default value" for a type. Read more

impl Part for CommentSnippet
[src]