Struct discord::model::CurrentUser [] [src]

pub struct CurrentUser {
    pub id: UserId,
    pub username: String,
    pub discriminator: u16,
    pub avatar: Option<String>,
    pub email: Option<String>,
    pub verified: bool,
    pub bot: bool,
    pub mfa_enabled: bool,
}

Information about the logged-in user

Fields

Trait Implementations

impl Debug for CurrentUser
[src]

Formats the value using the given formatter.

impl Clone for CurrentUser
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more