pub struct UpdateGuildRoleBody {
pub name: Option<String>,
pub color: Option<HexColor32>,
pub permissions: Option<Permissions>,
pub hoist: Option<bool>,
pub hoist_position: Option<u64>,
pub mentionable: Option<bool>,
}Fields§
§name: Option<String>§color: Option<HexColor32>§permissions: Option<Permissions>§hoist: Option<bool>§hoist_position: Option<u64>§mentionable: Option<bool>Implementations§
Source§impl UpdateGuildRoleBody
impl UpdateGuildRoleBody
Sourcepub fn builder() -> UpdateGuildRoleBodyBuilder
pub fn builder() -> UpdateGuildRoleBodyBuilder
Create an instance of UpdateGuildRoleBody using the builder syntax
Trait Implementations§
Source§impl Clone for UpdateGuildRoleBody
impl Clone for UpdateGuildRoleBody
Source§fn clone(&self) -> UpdateGuildRoleBody
fn clone(&self) -> UpdateGuildRoleBody
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateGuildRoleBody
impl Debug for UpdateGuildRoleBody
Auto Trait Implementations§
impl Freeze for UpdateGuildRoleBody
impl RefUnwindSafe for UpdateGuildRoleBody
impl Send for UpdateGuildRoleBody
impl Sync for UpdateGuildRoleBody
impl Unpin for UpdateGuildRoleBody
impl UnsafeUnpin for UpdateGuildRoleBody
impl UnwindSafe for UpdateGuildRoleBody
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more