[][src]Struct dbl::types::DetailedUser

pub struct DetailedUser {
    pub id: UserId,
    pub username: String,
    pub discriminator: String,
    pub avatar: Option<String>,
    pub default_avatar: String,
    pub bio: Option<String>,
    pub banner: Option<String>,
    pub social: Social,
    pub color: Option<String>,
    pub supporter: bool,
    pub certified_dev: bool,
    pub mod_: bool,
    pub web_mod: bool,
    pub admin: bool,
}

Detailed user information returned by Client::user.

Fields

id: UserIdusername: Stringdiscriminator: Stringavatar: Option<String>default_avatar: Stringbio: Option<String>banner: Option<String>social: Socialcolor: Option<String>supporter: boolcertified_dev: boolmod_: boolweb_mod: booladmin: bool

Trait Implementations

impl Debug for DetailedUser[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> 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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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