pub struct PlaylistObject {Show 14 fields
pub collaborative: bool,
pub description: String,
pub external_urls: ExternalUrlObject,
pub followers: FollowersObject,
pub href: String,
pub id: String,
pub images: Vec<ImageObject>,
pub name: String,
pub owner: PublicUserObject,
pub public: bool,
pub snapshot_id: String,
pub tracks: Vec<PlaylistTrackObject>,
pub _type: String,
pub uri: String,
}
Expand description
Fields§
§collaborative: bool
true
if the owner allows other users to modify the playlist.
description: String
The playlist description. Only returned for modified, verified playlists, otherwise null
.
external_urls: ExternalUrlObject
Known external URLs for this playlist.
followers: FollowersObject
Information about the followers of the playlist.
href: String
A link to the Web API endpoint providing full details of the playlist.
id: String
The Spotify ID for the playlist.
images: Vec<ImageObject>
Images for the playlist. The array may be empty or contain up to three images. The images are returned by size in descending order. See Working with Playlists. Note: If returned, the source URL for the image (url
) is temporary and will expire in less than a day.
name: String
The name of the playlist.
owner: PublicUserObject
The user who owns the playlist
public: bool
The playlist’s public/private status: true
the playlist is public, false
the playlist is private, null
the playlist status is not relevant. For more about public/private status, see Working with Playlists
snapshot_id: String
The version identifier for the current playlist. Can be supplied in other requests to target a specific playlist version
tracks: Vec<PlaylistTrackObject>
Information about the tracks of the playlist. Note, a track object may be null
. This can happen if a track is no longer available.
_type: String
The object type: “playlist”
uri: String
The Spotify URI for the playlist.
Trait Implementations§
Source§impl Clone for PlaylistObject
impl Clone for PlaylistObject
Source§fn clone(&self) -> PlaylistObject
fn clone(&self) -> PlaylistObject
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PlaylistObject
impl Debug for PlaylistObject
Source§impl<'de> Deserialize<'de> for PlaylistObject
impl<'de> Deserialize<'de> for PlaylistObject
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>,
Source§impl PartialEq for PlaylistObject
impl PartialEq for PlaylistObject
Source§impl Serialize for PlaylistObject
impl Serialize for PlaylistObject
impl Eq for PlaylistObject
impl StructuralPartialEq for PlaylistObject
Auto Trait Implementations§
impl Freeze for PlaylistObject
impl RefUnwindSafe for PlaylistObject
impl Send for PlaylistObject
impl Sync for PlaylistObject
impl Unpin for PlaylistObject
impl UnwindSafe for PlaylistObject
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.