Skip to content

Enum permissions::Invalid

zaun_community_protocol::permissions::Invalid · Enum

pub enum Invalid { … }

A malformed request (BAD_REQUEST).

An override has a bit in both allow and deny.

An override holds a known bit that is not channel-scoped.

The command sets an unknown bit that was not already present.

newcomer_restrictions contains VIEW_CHANNEL or READ_MESSAGE_HISTORY.

@everyone was listed where it may not be (reorder, delete, assign).

A role appears twice in one request.

The resulting role positions are not unique, or a position is 0.

pre_approved together with requires_approval.

Invitation admission overrides are not stricter than the policy.

A duration is outside its bounds (timeout, lockdown).

Clone, Copy, Debug, Eq, From<Invalid>, Hash, PartialEq, StructuralPartialEq

Full rustdoc page