Struct discord::model::User
[−]
[src]
pub struct User {
pub id: UserId,
pub name: String,
pub discriminator: String,
pub avatar: Option<String>,
pub bot: bool,
}Broadly-applicable user information
Fields
id | |
name | |
discriminator | |
avatar | |
bot |
Methods
impl User[src]
Trait Implementations
Derived Implementations
impl Clone for User[src]
fn clone(&self) -> User
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