Struct discord::model::Role  
                   
                       [−]
                   
               [src]
pub struct Role {
    pub id: RoleId,
    pub name: String,
    pub color: u64,
    pub hoist: bool,
    pub managed: bool,
    pub position: i64,
    pub mentionable: bool,
    pub permissions: Permissions,
}Information about a role
Fields
id: RoleId
                           
                           
                           name: String
                           
                           
                           color: u64
                           Color in 0xRRGGBB form
hoist: bool
                           
                           
                           managed: bool
                           
                           
                           position: i64
                           
                           
                           mentionable: bool
                           
                           
                           permissions: Permissions
                           Methods
impl Role[src]
Trait Implementations
impl Debug for Role[src]
impl Clone for Role[src]
fn clone(&self) -> Role
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