Skip to content

Struct permissions::Subject

zaun_community_protocol::permissions::Subject · Struct

pub struct Subject<'a> { … }

The member whose permissions are resolved.

The member id (matches member overrides).

Whether this member is the owner bound in the current descriptor.

The lifecycle state.

The roles the member holds, joined from the role table. @everyone need not be listed (its permissions come from Context::everyone); listing it is harmless.

members.timeout_until in ms since the epoch.

When the member was admitted (left Pending), in ms since the epoch. Drives the waiting period and a lockdown’s restrict_newcomers window.

Clone, Copy, Debug

Full rustdoc page