Struct twilight_http::request::guild::create_guild::RoleFields [−][src]
pub struct RoleFields {
pub color: Option<u32>,
pub hoist: Option<bool>,
pub id: RoleId,
pub mentionable: Option<bool>,
pub name: String,
pub permissions: Option<Permissions>,
pub position: Option<i64>,
}Expand description
Role fields sent to Discord.
Use RoleFieldsBuilder to build one.
Fields
color: Option<u32>hoist: Option<bool>id: RoleIdmentionable: Option<bool>name: Stringpermissions: Option<Permissions>position: Option<i64>Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for RoleFields
impl Send for RoleFields
impl Sync for RoleFields
impl Unpin for RoleFields
impl UnwindSafe for RoleFields
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more