Skip to content

Enum model::MembershipState

zaun_community_protocol::model::MembershipState · Enum

pub enum MembershipState { … }

A member’s lifecycle state. Independent of roles.

Awaiting approval; may only read the community summary and leave.

Admitted with the admission policy’s newcomer restrictions.

A full member.

Temporarily removed from participation; keeps the binding.

Banned; the binding is revoked.

Left or kicked.

pub const fn is_bound(self) -> bool

Whether the member holds a live binding (may issue at least some commands).

pub const fn is_admitted(self) -> bool

Whether the member counts as admitted (receives channel events if permitted).

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

Full rustdoc page