Skip to content

Struct command::object::Lockdown

zaun_community_protocol::command::object::Lockdown · Struct

pub struct Lockdown { … }

The full lockdown record, for MANAGE_SAFETY holders: { lockdown_id, restrictions, forced_slowmode_s?, newcomer_window_s?, expires_at, reason?, actor_id }.

Host-assigned id.

Active restrictions (≥ 1).

Forced minimum slowmode on every channel, s.

Window for restrict_newcomers, s; present only with that restriction.

Expiry, ms.

The moderator’s reason.

The enabling moderator.

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

Full rustdoc page