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.


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 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 Default for Caption

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

impl Clone for Caption

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Caption

Formats the value using the given formatter.

impl RequestValue for Caption

impl Resource for Caption

impl ResponseResult for Caption

impl ToParts for Caption

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.