[][src]Struct deezer::models::TrackAlbum

pub struct TrackAlbum {
    pub id: u64,
    pub title: String,
    pub link: String,
    pub cover: String,
    pub cover_small: String,
    pub cover_medium: String,
    pub cover_big: String,
    pub cover_xl: String,
    pub release_date: String,
}

Subset of Album.

Use get_full() for the full Album.

Fields

id: u64

The Deezer album id

title: String

The album title

link: String

The url of the album on Deezer

cover: String

The url of the album's cover.

cover_small: String

The url of the album's cover in size small.

cover_medium: String

The url of the album's cover in size medium.

cover_big: String

The url of the album's cover in size big.

cover_xl: String

The url of the album's cover in size xl.

release_date: String

The album's release date

Implementations

impl TrackAlbum[src]

pub async fn get_full<'_>(&'_ self) -> Result<Album, DeezerError>[src]

Returns the full Album.

Trait Implementations

impl Clone for TrackAlbum[src]

impl Debug for TrackAlbum[src]

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

impl Serialize for TrackAlbum[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: 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> 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.