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

Color in 0xRRGGBB form

Methods

impl Role
[src]

Return a Mention which will ping members of this role.

Trait Implementations

impl Debug for Role
[src]

Formats the value using the given formatter.

impl Clone for Role
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more