pub trait ChoiceValue {
// Required method
fn into_value(self) -> ApplicationCommandOptionChoiceValue;
}Expand description
The value half of a (name, value) suggestion: a string for string Options, an integer or
number for numeric ones
Required Methods§
Sourcefn into_value(self) -> ApplicationCommandOptionChoiceValue
fn into_value(self) -> ApplicationCommandOptionChoiceValue
The value, typed for its Option
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".