Enum model::MembershipState
zaun_community_protocol::model::MembershipState · Enum
pub enum MembershipState { … }A member’s lifecycle state. Independent of roles.
Variants
Section titled “Variants”Pending
Section titled “Pending”Awaiting approval; may only read the community summary and leave.
Probation
Section titled “Probation”Admitted with the admission policy’s newcomer restrictions.
Active
Section titled “Active”A full member.
Suspended
Section titled “Suspended”Temporarily removed from participation; keeps the binding.
Banned
Section titled “Banned”Banned; the binding is revoked.
Left or kicked.
Methods
Section titled “Methods”is_bound
Section titled “is_bound”pub const fn is_bound(self) -> boolWhether the member holds a live binding (may issue at least some commands).
is_admitted
Section titled “is_admitted”pub const fn is_admitted(self) -> boolWhether the member counts as admitted (receives channel events if permitted).
Trait implementations
Section titled “Trait implementations”Clone, Copy, Debug, Deserialize<'de>, Eq, Hash, PartialEq, Serialize, StructuralPartialEq