pub struct PlaylistTrackObject {
pub added_by: PublicUserObject,
pub is_local: bool,
pub track: PlaylistItemType<TrackObject, EpisodeObject>,
}
Expand description
Fields§
§added_by: PublicUserObject
The date and time the track or episode was added. Note that some very old playlists may return null
in this field.
The Spotify user who added the track or episode. Note that some very old playlists may return null
in this field.
is_local: bool
Whether this track or episode is a local file or not.
track: PlaylistItemType<TrackObject, EpisodeObject>
Information about the track or episode.
Trait Implementations§
Source§impl Clone for PlaylistTrackObject
impl Clone for PlaylistTrackObject
Source§fn clone(&self) -> PlaylistTrackObject
fn clone(&self) -> PlaylistTrackObject
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 PlaylistTrackObject
impl Debug for PlaylistTrackObject
Source§impl<'de> Deserialize<'de> for PlaylistTrackObject
impl<'de> Deserialize<'de> for PlaylistTrackObject
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 PlaylistTrackObject
impl PartialEq for PlaylistTrackObject
Source§impl Serialize for PlaylistTrackObject
impl Serialize for PlaylistTrackObject
impl Eq for PlaylistTrackObject
impl StructuralPartialEq for PlaylistTrackObject
Auto Trait Implementations§
impl Freeze for PlaylistTrackObject
impl RefUnwindSafe for PlaylistTrackObject
impl Send for PlaylistTrackObject
impl Sync for PlaylistTrackObject
impl Unpin for PlaylistTrackObject
impl UnwindSafe for PlaylistTrackObject
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
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
Compare self to
key
and return true
if they are equal.