Skip to content

Struct command::object::OptionValue

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

pub struct OptionValue { … }

One option of an invoked command.

The option’s name.

The option’s type.

Absent for subcommands and groups.

A subcommand’s options.

The option being typed (autocomplete only).

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

Full rustdoc page