# Enum command::object::ChoiceValue

> A choice `value`: a string or a number.

`zaun_community_protocol::command::object::ChoiceValue` · Enum

```rust
pub enum ChoiceValue { … }
```

A choice `value`: a string or a number.

## Variants

### `String(String)`

For `STRING` options.

### `Number(f64)`

For `INTEGER` and `NUMBER` options.

## Trait implementations

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

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/object/app_command/enum.ChoiceValue.html)
