Enum command::object::OptionType
zaun_community_protocol::command::object::OptionType · Enum
pub enum OptionType { … }type of an option (Discord’s numbers 1–11).
Variants
Section titled “Variants”SubCommand
Section titled “SubCommand”SubCommandGroup
Section titled “SubCommandGroup”String
Section titled “String”Integer
Section titled “Integer”4: |x| < 2^53.
Boolean
Section titled “Boolean”6: a member.
Channel
Section titled “Channel”Mentionable
Section titled “Mentionable”9: a member or a role.
Number
Section titled “Number”10: a double.
Attachment
Section titled “Attachment”11: an attachment the invoker uploaded.
Trait implementations
Section titled “Trait implementations”Clone, Copy, Debug, Deserialize<'de>, Eq, From<OptionType>, Hash, PartialEq, Serialize, StructuralPartialEq, TryFrom<u8>