Skip to content

Struct permissions::Role

zaun_community_protocol::permissions::Role · Struct

pub struct Role { … }

A role as the resolver sees it (permissions the protocol).

The role id; RoleId::EVERYONE for @everyone.

Granted bits, unknown bits retained.

Position: 0 is @everyone, higher means more authority. Used only by the protocol

Clone, Copy, Debug, Eq, Hash, PartialEq, StructuralPartialEq

Full rustdoc page