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
kind: Option<String>
The type of the API resource.
channel_id: Option<String>
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.
playlist_id: Option<String>
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.
video_id: Option<String>
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]
impl Clone for ResourceId
[src]
fn clone(&self) -> ResourceId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for ResourceId
[src]
fn default() -> ResourceId
Returns the "default value" for a type. Read more