Skip to content

Struct permissions::Context

zaun_community_protocol::permissions::Context · Struct

pub struct Context<'a> { … }

Community-wide inputs shared by every resolution in one request.

The current time in ms since the epoch.

The @everyone role’s permissions.

The admission policy’s newcomer_restrictions (step 7b).

The admission policy’s waiting_period_s, in ms.

The community’s lockdown row, if any; ignored once expired.

Clone, Copy, Debug

Full rustdoc page