#[non_exhaustive]pub struct Playlist {
pub id: String,
pub name: String,
pub videos: Paginator<VideoItem>,
pub video_count: u64,
pub thumbnail: Vec<Thumbnail>,
pub description: Option<RichText>,
pub channel: Option<ChannelId>,
pub last_update: Option<Date>,
pub last_update_txt: Option<String>,
pub visitor_data: Option<String>,
}Expand description
YouTube playlist
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringUnique YouTube playlist ID
name: StringPlaylist name
videos: Paginator<VideoItem>Playlist videos
video_count: u64Number of videos in the playlist
thumbnail: Vec<Thumbnail>Playlist thumbnail
description: Option<RichText>Playlist description in rich text format
channel: Option<ChannelId>Channel of the playlist
last_update: Option<Date>Last update date
last_update_txt: Option<String>Textual last update date
visitor_data: Option<String>YouTube visitor data ID
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Playlist
impl<'de> Deserialize<'de> for Playlist
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Playlist
impl RefUnwindSafe for Playlist
impl Send for Playlist
impl Sync for Playlist
impl Unpin for Playlist
impl UnwindSafe for Playlist
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more