Skip to content

Struct command::object::AdmissionPolicy

zaun_community_protocol::command::object::AdmissionPolicy · Struct

pub struct AdmissionPolicy { … }

The full admission policy. Visible to MANAGE_SAFETY holders.

SPEC: governance the protocol lists different fields (admission: open|invite_only, max_pending) and different invite_creation values; the protocol is followed. the protocol says membership requests need “open admission” but the full policy has no field saying so.

The preset, or custom once a field is edited.

Joins start pending.

Delay before the first message, reaction or invitation, s.

Time in probation before automatic promotion, s (0 = none).

Messages or reactions required during probation.

Bits removed during probation; never VIEW_CHANNEL/READ_MESSAGE_HISTORY.

Aggregate admission rate.

Pending requests expire after this, s (≤ 30 days).

Who may create invitations.

Reserved; MUST be empty in v1.

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

Full rustdoc page