Struct command::object::LockdownPublic
zaun_community_protocol::command::object::LockdownPublic · Struct
pub struct LockdownPublic { … }The public form, for members without MANAGE_SAFETY: {active, restrictions_affecting_you, expires_at}. With no active lockdown (disabled or expired) it
is {active: false, restrictions_affecting_you: [], expires_at: null}, sent to every
member by moderation.lockdown.updated.
Fields
Section titled “Fields”active: bool
Section titled “active: bool”Whether a lockdown is active.
restrictions_affecting_you: Vec<Restriction>
Section titled “restrictions_affecting_you: Vec<Restriction>”The restrictions that apply to the viewer.
expires_at: Option<u64>
Section titled “expires_at: Option<u64>”Expiry, ms; null when inactive.
Trait implementations
Section titled “Trait implementations”Clone, Debug, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq