Struct discord::model::Member
[−]
[src]
pub struct Member { pub user: User, pub roles: Vec<RoleId>, pub nick: Option<String>, pub joined_at: String, pub mute: bool, pub deaf: bool, }
Information about a member of a server
Fields
user: User
roles: Vec<RoleId>
nick: Option<String>
joined_at: String
mute: bool
deaf: bool
Methods
impl Member
[src]
fn display_name(&self) -> &str
Get this member's nickname if present or their username otherwise.
Trait Implementations
impl Debug for Member
[src]
impl Clone for Member
[src]
fn clone(&self) -> Member
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