Skip to content

Enum envelope::Reason

zaun_community_protocol::envelope::Reason · Enum

pub enum Reason { … }

FORBIDDEN and CONFLICT reasons.

FORBIDDEN: a management-hierarchy check failed.

FORBIDDEN: newcomer restrictions (probation, waiting period).

FORBIDDEN: an emergency lockdown restriction.

CONFLICT: a request_id reused with another type or body.

CONFLICT: already a member.

CONFLICT: the community is already hosted.

CONFLICT: the owner cannot leave.

CONFLICT: a signed object’s revision is stale.

CONFLICT: the connection is already bound.

CONFLICT: a count limit was reached.

CONFLICT: the subject is in a state the command does not apply to (suspending a pending member, restoring one that is not suspended, reviewing a closed report).

FORBIDDEN: grants beyond the operator’s ceiling or the manifest’s request.

FORBIDDEN: a bot update signed by another publisher.

CONFLICT: the bot’s app_id is installed already.

FORBIDDEN: the member does not take direct messages from bots, or closed this one.

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

Full rustdoc page