Struct google_youtube3::api::PlaylistImageSnippet
source · pub struct PlaylistImageSnippet {
pub height: Option<i32>,
pub playlist_id: Option<String>,
pub type_: Option<String>,
pub width: Option<i32>,
}
Expand description
A playlistImage resource identifies another resource, such as a image, that is associated with a playlist. In addition, the playlistImage resource contains details about the included resource that pertain specifically to how that resource is used in that playlist. YouTube uses playlists to identify special collections of videos for a channel, such as: - uploaded videos - favorite videos - positively rated (liked) videos - watch history To be more specific, these lists are associated with a channel, which is a collection of a person, group, or company’s videos, playlists, and other YouTube information. You can retrieve the playlist IDs for each of these lists from the channel resource for a given channel. You can then use the playlistImages.list method to retrieve image data for any of those playlists. You can also add or remove images from those lists by calling the playlistImages.insert and playlistImages.delete methods.
This type is not used in any activity, and only used as part of another schema.
Fields§
§height: Option<i32>
The image height.
playlist_id: Option<String>
The Playlist ID of the playlist this image is associated with.
type_: Option<String>
The image type.
width: Option<i32>
The image width.
Trait Implementations§
source§impl Clone for PlaylistImageSnippet
impl Clone for PlaylistImageSnippet
source§fn clone(&self) -> PlaylistImageSnippet
fn clone(&self) -> PlaylistImageSnippet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more