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
id: UserId
username: String
discriminator: u16
avatar: Option<String>
email: Option<String>
verified: bool
bot: bool
mfa_enabled: bool
Trait Implementations
impl Debug for CurrentUser
[src]
impl Clone for CurrentUser
[src]
fn clone(&self) -> CurrentUser
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more