Skip to content

Struct command::object::Choice

zaun_community_protocol::command::object::Choice · Struct

pub struct Choice { … }

A predefined choice of an option, or an autocomplete result.

1–100 scalars.

name_localizations: BTreeMap<String, String>

Section titled “name_localizations: BTreeMap<String, String>”

Localized names by BCP 47 tag.

What the bot receives.

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

Full rustdoc page