[][src]Struct aspotify::model::PlaylistTrack

pub struct PlaylistTrack {
    pub added_at: Option<DateTime<Utc>>,
    pub added_by: Option<UserSimplified>,
    pub is_local: bool,
    pub track: Track,
}

A track inside a playlist.

Fields

added_at: Option<DateTime<Utc>>

The date and time that the track was added. Some very old playlists might have None.

added_by: Option<UserSimplified>

The Spotify user who added the track. Some very old playlists might have None. This is a UserPublic according to the documentation, but in practice it is not.

is_local: bool

Whether the track is a local file or not.

track: Track

Information about the track.

Trait Implementations

impl Clone for PlaylistTrack[src]

impl Debug for PlaylistTrack[src]

impl<'de> Deserialize<'de> for PlaylistTrack[src]

impl Eq for PlaylistTrack[src]

impl PartialEq<PlaylistTrack> for PlaylistTrack[src]

impl Serialize for PlaylistTrack[src]

impl StructuralEq for PlaylistTrack[src]

impl StructuralPartialEq for PlaylistTrack[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,