Struct google_youtube3::Comment [] [src]

pub struct Comment {
    pub snippet: Option<CommentSnippet>,
    pub kind: Option<String>,
    pub etag: Option<String>,
    pub id: Option<String>,

A comment represents a single YouTube comment.


This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).


The snippet object contains basic details about the comment.

Identifies what kind of resource this is. Value: the fixed string "youtube#comment".

Etag of this resource.

The ID that YouTube uses to uniquely identify the comment.

Trait Implementations

impl Default for Comment

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

impl Clone for Comment

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Comment

Formats the value using the given formatter.

impl RequestValue for Comment

impl Resource for Comment

impl ResponseResult for Comment

impl ToParts for Comment

Return a comma separated list of members that are currently set, i.e. for which self.member.is_some(). The produced string is suitable for use as a parts list that indicates the parts you are sending, and/or the parts you want to see in the server response.