[][src]Struct aspotify::model::PlayHistory

pub struct PlayHistory {
    pub track: TrackSimplified,
    pub played_at: DateTime<Utc>,
    pub context: Option<Context>,
}

When and how a track was played.

Fields

track: TrackSimplified

The track the user listened to.

played_at: DateTime<Utc>

When the track was played.

context: Option<Context>

The context from which the track was played.

Trait Implementations

impl Clone for PlayHistory[src]

impl Debug for PlayHistory[src]

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

impl Eq for PlayHistory[src]

impl PartialEq<PlayHistory> for PlayHistory[src]

impl Serialize for PlayHistory[src]

impl StructuralEq for PlayHistory[src]

impl StructuralPartialEq for PlayHistory[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>,