[][src]Struct deezer::models::comment::CommentAuthor

pub struct CommentAuthor {
    pub id: u64,
    pub name: String,
    pub link: String,
    pub picture: String,
    pub picture_small: String,
    pub picture_medium: String,
    pub picture_big: String,
    pub picture_xl: String,
}

Subset of User.

Use get_full() for the corresponding User struct.

Fields

id: u64

The comment's Deezer id

name: String

The user's Deezer nickname

link: String

The url of the profil for the user on Deezer

picture: String

The url of the user's profile picture

picture_small: String

The url of the user's profile picture in size small

picture_medium: String

The url of the user's profile picture in size medium

picture_big: String

The url of the user's profile picture in size big

picture_xl: String

The url of the user's profile picture in size xl

Implementations

impl CommentAuthor[src]

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

Returns the full User.

Trait Implementations

impl Debug for CommentAuthor[src]

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

impl Serialize for CommentAuthor[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, 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.