# Struct command::object::OptionValue

> One option of an invoked command.

`zaun_community_protocol::command::object::OptionValue` · Struct

```rust
pub struct OptionValue { … }
```

One option of an invoked command.

## Fields

### `name: String`

The option's name.

### `kind: OptionType`

The option's type.

### `value: Option<OptionValueKind>`

Absent for subcommands and groups.

### `options: Vec<OptionValue>`

A subcommand's options.

### `focused: bool`

The option being typed (autocomplete only).

## Trait implementations

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

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