[][src]Struct gmusic::Track

pub struct Track {
    pub id: String,
    pub title: String,
    pub artist: String,
    pub album: String,
    pub album_artist: Option<String>,
    pub track_number: u64,
    pub total_track_count: Option<u64>,
    pub duration_millis: String,
    pub album_art_ref: Vec<ImageRef>,
    pub artist_art_ref: Vec<ImageRef>,
    pub disk_number: Option<u64>,
}

Fields

id: Stringtitle: Stringartist: Stringalbum: Stringalbum_artist: Option<String>track_number: u64total_track_count: Option<u64>duration_millis: Stringalbum_art_ref: Vec<ImageRef>artist_art_ref: Vec<ImageRef>disk_number: Option<u64>

Trait Implementations

impl Clone for Track[src]

impl Debug for Track[src]

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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