Skip to content

Struct command::object::Role

zaun_community_protocol::command::object::Role · Struct

pub struct Role { … }

A role. Visible to every member.

Host-assigned id; all-zero for @everyone.

1–100 scalars.

RGB 0x000000–0xFFFFFF, or none.

Shown separately in member lists.

May be mentioned by anyone.

0 for @everyone; 1..n otherwise, higher = more authority.

Granted bits; unknown bits are preserved (permissions the protocol).

Only on a bot’s managed role.

Clone, Debug, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq

Full rustdoc page