Struct google_youtube3::Caption [] [src]

pub struct Caption {
    pub snippet: Option<CaptionSnippet>,
    pub kind: Option<String>,
    pub etag: Option<String>,
    pub id: Option<String>,
}

A caption resource represents a YouTube caption track. A caption track is associated with exactly one YouTube video.

Activities

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).

Fields

The snippet object contains basic details about the caption.

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

Etag of this resource.

The ID that YouTube uses to uniquely identify the caption track.

Trait Implementations

impl Debug for Caption
[src]

Formats the value using the given formatter.

impl Clone for Caption
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Caption
[src]

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

impl RequestValue for Caption
[src]

impl Resource for Caption
[src]

impl ResponseResult for Caption
[src]

impl ToParts for Caption
[src]

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.