[][src]Struct rustfm_scraper::models::recent_tracks::Track

pub struct Track {
    pub attr: Option<TrackAttr>,
    pub artist: Artist,
    pub album: Album,
    pub streamable: String,
    pub date: Option<Date>,
    pub name: String,
    pub mbid: String,
    // some fields omitted
}

Fields

attr: Option<TrackAttr>artist: Artistalbum: Albumstreamable: Stringdate: Option<Date>name: Stringmbid: String

Implementations

impl Track[src]

pub fn combined_title(&self) -> String[src]

pub fn loved(&self) -> bool[src]

pub fn now_playing(&self) -> bool[src]

pub fn date(&self) -> Date[src]

Trait Implementations

impl Clone for Track[src]

impl Debug for Track[src]

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

impl PartialEq<Track> for Track[src]

Auto Trait Implementations

impl RefUnwindSafe for Track

impl Send for Track

impl Sync for Track

impl Unpin for Track

impl UnwindSafe for Track

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: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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>,