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 Default for ResourceId
[src]
impl Default for ResourceId
fn default() -> ResourceId
[src]
fn default() -> ResourceId
Returns the "default value" for a type. Read more
impl Clone for ResourceId
[src]
impl Clone for ResourceId
fn clone(&self) -> ResourceId
[src]
fn clone(&self) -> ResourceId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for ResourceId
[src]
impl Debug for ResourceId
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for ResourceId
[src]
impl Part for ResourceId
Auto Trait Implementations
impl Send for ResourceId
impl Send for ResourceId
impl Sync for ResourceId
impl Sync for ResourceId