# Struct command::lockdown::Enable

> `moderation.lockdown.enable`; responds with the full `Lockdown`.

`zaun_community_protocol::command::lockdown::Enable` · Struct

```rust
pub struct Enable { … }
```

`moderation.lockdown.enable`; responds with the full
`Lockdown`.

## Fields

### `restrictions: Vec<Restriction>`

≥ 1, each once.

### `expires_in_s: u64`

60 – 604 800 s. Required.

### `forced_slowmode_s: Option<u32>`

≤ 21 600 s.

### `newcomer_window_s: Option<u64>`

1 s – 30 days; only with `restrict_newcomers`.

### `reason: Option<String>`

≤ 512 scalars.

## Trait implementations

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

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/lockdown/struct.Enable.html)
