# Struct command::object::Checkbox

> Type 23. Never required; use a one-option checkbox group for that.

`zaun_community_protocol::command::object::Checkbox` · Struct

```rust
pub struct Checkbox { … }
```

Type 23. Never required; use a one-option checkbox group for that.

## Fields

### `id: Option<u32>`

Unique in the modal.

### `custom_id: String`

1–100 bytes.

### `default: bool`

Checked initially.

## Trait implementations

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

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/object/component/kinds/layout/struct.Checkbox.html)
