Enum command::object::CommandType
zaun_community_protocol::command::object::CommandType · Enum
pub enum CommandType { … }type of a command: 1 CHAT_INPUT (a slash command), 2 USER, 3 MESSAGE (context
menus).
Variants
Section titled “Variants”ChatInput
Section titled “ChatInput”2: on a member.
Message
Section titled “Message”3: on a message.
Trait implementations
Section titled “Trait implementations”Clone, Copy, Debug, Default, Deserialize<'de>, Eq, From<CommandType>, Hash, Ord, PartialEq, PartialOrd, Serialize, StructuralPartialEq, TryFrom<u8>