pub struct FullPlaylist {Show 13 fields
pub collaborative: bool,
pub description: Option<String>,
pub external_urls: HashMap<String, String>,
pub followers: Followers,
pub href: String,
pub id: PlaylistId<'static>,
pub images: Vec<Image>,
pub name: String,
pub owner: PublicUser,
pub public: Option<bool>,
pub snapshot_id: String,
pub tracks: Page<PlaylistItem>,
pub items: Page<PlaylistItem>,
}Expand description
Full playlist object
Note: The tracks field was renamed to items by Spotify. This struct
uses an internal “shadow” struct for deserialization to ensure that both
fields are correctly populated regardless of whether Spotify sends the old
or new key. This maintains compatibility before, during and after the
February 2026 API migration.
Fields§
§collaborative: bool§description: Option<String>§external_urls: HashMap<String, String>§followers: Followers§href: String§id: PlaylistId<'static>§images: Vec<Image>§name: String§owner: PublicUser§public: Option<bool>§snapshot_id: String§tracks: Page<PlaylistItem>👎Deprecated since 0.16.0:
Renamed to items by Spotify. Use items instead. See https://github.com/ramsayleung/rspotify/issues/550
Note: This field is kept for compatibility before, during and after
Spotify’s February 2026 API migration. It is synced with items
during deserialization.
items: Page<PlaylistItem>Trait Implementations§
Source§impl Clone for FullPlaylist
impl Clone for FullPlaylist
Source§fn clone(&self) -> FullPlaylist
fn clone(&self) -> FullPlaylist
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FullPlaylist
impl Debug for FullPlaylist
Source§impl<'de> Deserialize<'de> for FullPlaylist
impl<'de> Deserialize<'de> for FullPlaylist
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
Source§impl PartialEq for FullPlaylist
impl PartialEq for FullPlaylist
Source§impl Serialize for FullPlaylist
impl Serialize for FullPlaylist
impl Eq for FullPlaylist
impl StructuralPartialEq for FullPlaylist
Auto Trait Implementations§
impl Freeze for FullPlaylist
impl RefUnwindSafe for FullPlaylist
impl Send for FullPlaylist
impl Sync for FullPlaylist
impl Unpin for FullPlaylist
impl UnsafeUnpin for FullPlaylist
impl UnwindSafe for FullPlaylist
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