Enum command::object::Restriction
zaun_community_protocol::command::object::Restriction · Enum
pub enum Restriction { … }One lockdown restriction.
Variants
Section titled “Variants”PauseJoins
Section titled “PauseJoins”No new memberships.
DisableInviteRedeem
Section titled “DisableInviteRedeem”invite.redeem refused.
DisableInviteCreate
Section titled “DisableInviteCreate”invite.create refused.
RequireApproval
Section titled “RequireApproval”Every join starts pending.
RestrictNewcomers
Section titled “RestrictNewcomers”The newcomer mask applies to members admitted within newcomer_window_s.
DisableAttachments
Section titled “DisableAttachments”No attachments.
DisableLinks
Section titled “DisableLinks”No links in content.
DisableMassMentions
Section titled “DisableMassMentions”No mass mentions.
RestrictVoice
Section titled “RestrictVoice”No voice.
RestrictExpensive
Section titled “RestrictExpensive”Expensive operations blocked.
Trait implementations
Section titled “Trait implementations”Clone, Copy, Debug, Deserialize<'de>, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize, StructuralPartialEq