pub struct Playlist {Show 14 fields
pub collaborative: Option<bool>,
pub description: Option<String>,
pub external_urls: Option<ExternalUrls>,
pub followers: Option<Followers>,
pub href: Option<String>,
pub id: String,
pub images: Option<Vec<Image>>,
pub name: String,
pub owner: Option<UserPublic>,
pub public: Option<bool>,
pub snapshot_id: Option<String>,
pub tracks: Option<Paginated<PlaylistTrack>>,
pub item_type: String,
pub uri: String,
}Expand description
Full playlist object.
Fields§
§collaborative: Option<bool>Whether the playlist is collaborative.
description: Option<String>Playlist description.
external_urls: Option<ExternalUrls>External URLs.
followers: Option<Followers>Follower information.
href: Option<String>Spotify URL.
id: StringSpotify ID.
images: Option<Vec<Image>>Playlist cover images.
name: StringPlaylist name.
owner: Option<UserPublic>Playlist owner.
public: Option<bool>Whether the playlist is public.
snapshot_id: Option<String>Snapshot ID.
tracks: Option<Paginated<PlaylistTrack>>Playlist tracks (paginated).
item_type: StringObject type.
uri: StringSpotify URI.
Implementations§
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