Struct bindings::zaun::bot::types::CommandOption
zaun_bot::bindings::zaun::bot::types::CommandOption · Struct
pub struct CommandOption { … }Fields
Section titled “Fields”kind: OptionKind
Section titled “kind: OptionKind”name: String
Section titled “name: String”name_localizations: Vec<Localized>
Section titled “name_localizations: Vec<Localized>”description: String
Section titled “description: String”description_localizations: Vec<Localized>
Section titled “description_localizations: Vec<Localized>”required: bool
Section titled “required: bool”choices: Vec<Choice>
Section titled “choices: Vec<Choice>”channel_types: Vec<String>
Section titled “channel_types: Vec<String>”min_value: Option<f64>
Section titled “min_value: Option<f64>”max_value: Option<f64>
Section titled “max_value: Option<f64>”min_length: Option<u16>
Section titled “min_length: Option<u16>”max_length: Option<u16>
Section titled “max_length: Option<u16>”autocomplete: bool
Section titled “autocomplete: bool”Trait implementations
Section titled “Trait implementations”Clone, Debug