Struct google_youtube3::api::PlaylistSnippet
source · pub struct PlaylistSnippet {
pub channel_id: Option<String>,
pub channel_title: Option<String>,
pub default_language: Option<String>,
pub description: Option<String>,
pub localized: Option<PlaylistLocalization>,
pub published_at: Option<DateTime<Utc>>,
pub tags: Option<Vec<String>>,
pub thumbnail_video_id: Option<String>,
pub thumbnails: Option<ThumbnailDetails>,
pub title: Option<String>,
}
Expand description
Basic details about a playlist, including title, description and thumbnails.
This type is not used in any activity, and only used as part of another schema.
Fields§
§channel_id: Option<String>
The ID that YouTube uses to uniquely identify the channel that published the playlist.
channel_title: Option<String>
The channel title of the channel that the video belongs to.
default_language: Option<String>
The language of the playlist’s default title and description.
description: Option<String>
The playlist’s description.
localized: Option<PlaylistLocalization>
Localized title and description, read-only.
published_at: Option<DateTime<Utc>>
The date and time that the playlist was created.
Keyword tags associated with the playlist.
thumbnail_video_id: Option<String>
Note: if the playlist has a custom thumbnail, this field will not be populated. The video id selected by the user that will be used as the thumbnail of this playlist. This field defaults to the first publicly viewable video in the playlist, if: 1. The user has never selected a video to be the thumbnail of the playlist. 2. The user selects a video to be the thumbnail, and then removes that video from the playlist. 3. The user selects a non-owned video to be the thumbnail, but that video becomes private, or gets deleted.
thumbnails: Option<ThumbnailDetails>
A map of thumbnail images associated with the playlist. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
title: Option<String>
The playlist’s title.
Trait Implementations§
source§impl Clone for PlaylistSnippet
impl Clone for PlaylistSnippet
source§fn clone(&self) -> PlaylistSnippet
fn clone(&self) -> PlaylistSnippet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more