pub struct SimplifiedPlaylistObject {Show 13 fields
pub collaborative: bool,
pub description: String,
pub external_urls: ExternalUrlObject,
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: booltrue if the owner allows other users to modify the playlist.
description: StringThe playlist description. Only returned for modified, verified playlists, otherwise null.
external_urls: ExternalUrlObjectKnown external URLs for this playlist.
href: StringA link to the Web API endpoint providing full details of the playlist.
id: StringThe 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: StringThe name of the playlist.
owner: PublicUserObjectThe user who owns the playlist
public: boolThe 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: StringThe 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: StringThe object type: “playlist”
uri: StringThe Spotify URI for the playlist.
Trait Implementations§
Source§impl Clone for SimplifiedPlaylistObject
impl Clone for SimplifiedPlaylistObject
Source§fn clone(&self) -> SimplifiedPlaylistObject
fn clone(&self) -> SimplifiedPlaylistObject
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SimplifiedPlaylistObject
impl Debug for SimplifiedPlaylistObject
Source§impl<'de> Deserialize<'de> for SimplifiedPlaylistObject
impl<'de> Deserialize<'de> for SimplifiedPlaylistObject
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 SimplifiedPlaylistObject
impl PartialEq for SimplifiedPlaylistObject
Source§impl Serialize for SimplifiedPlaylistObject
impl Serialize for SimplifiedPlaylistObject
impl Eq for SimplifiedPlaylistObject
impl StructuralPartialEq for SimplifiedPlaylistObject
Auto Trait Implementations§
impl Freeze for SimplifiedPlaylistObject
impl RefUnwindSafe for SimplifiedPlaylistObject
impl Send for SimplifiedPlaylistObject
impl Sync for SimplifiedPlaylistObject
impl Unpin for SimplifiedPlaylistObject
impl UnwindSafe for SimplifiedPlaylistObject
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.