# Struct bindings::zaun::bot::types::CommandOption

> Struct CommandOption in zaun_bot.

`zaun_bot::bindings::zaun::bot::types::CommandOption` · Struct

```rust
pub struct CommandOption { … }
```

## Fields

### `kind: OptionKind`

### `name: String`

### `name_localizations: Vec<Localized>`

### `description: String`

### `description_localizations: Vec<Localized>`

### `required: bool`

### `choices: Vec<Choice>`

### `channel_types: Vec<String>`

### `min_value: Option<f64>`

### `max_value: Option<f64>`

### `min_length: Option<u16>`

### `max_length: Option<u16>`

### `autocomplete: bool`

## Trait implementations

`Clone`, `Debug`

[Full rustdoc page](/docs/api/rust/zaun-bot/zaun_bot/bindings/zaun/bot/types/struct.CommandOption.html)
