Struct google_youtube3::ResourceId [] [src]

pub struct ResourceId {
    pub kind: Option<String>,
    pub channel_id: Option<String>,
    pub playlist_id: Option<String>,
    pub video_id: Option<String>,
}

A resource id is a generic reference that points to another YouTube resource.

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

Fields

The type of the API resource.

The ID that YouTube uses to uniquely identify the referred resource, if that resource is a channel. This property is only present if the resourceId.kind value is youtube#channel.

The ID that YouTube uses to uniquely identify the referred resource, if that resource is a playlist. This property is only present if the resourceId.kind value is youtube#playlist.

The ID that YouTube uses to uniquely identify the referred resource, if that resource is a video. This property is only present if the resourceId.kind value is youtube#video.

Trait Implementations

impl Debug for ResourceId
[src]

Formats the value using the given formatter.

impl Clone for ResourceId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for ResourceId
[src]

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

impl Part for ResourceId
[src]