Struct command::role::Update
zaun_community_protocol::command::role::Update · Struct
pub struct Update { … }role.update: any of the role.create fields.
SPEC: “any of the fields above” is read as the role.create fields (positions change
only through role.reorder).
Fields
Section titled “Fields”role_id: RoleId
Section titled “role_id: RoleId”The role.
name: Patch<String>
Section titled “name: Patch<String>”New name.
color: Patch<u32>
Section titled “color: Patch<u32>”New colour; null clears.
hoist: Patch<bool>
Section titled “hoist: Patch<bool>”New hoist flag.
mentionable: Patch<bool>
Section titled “mentionable: Patch<bool>”New mentionable flag.
permissions: Patch<Permissions>
Section titled “permissions: Patch<Permissions>”New permission set.
Trait implementations
Section titled “Trait implementations”Body, Clone, Debug, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq, Validate