Struct noob::events::Myself[][src]

pub struct Myself {
    pub id: Snowflake,
    pub username: String,
    pub discriminator: String,
    pub avatar: Option<String>,
    pub bot: bool,
    pub mfa_enabled: bool,
    pub verified: bool,
    pub email: Option<String>,
}

Data about the current user. (relevant Discord docs)

Fields

User ID

Username, not unique

4-digit Discord tag

User's avatar hash

Whether this is a bot account

Whether the account has MFA enabled

Whether the email address on this account has been verified

Email address

Trait Implementations

impl Debug for Myself
[src]

Formats the value using the given formatter. Read more

impl Into<User> for Myself
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Myself

impl Sync for Myself