Enum command::object::InteractionData
zaun_community_protocol::command::object::InteractionData · Enum
pub enum InteractionData { … }data of an interaction, by type.
Variants
Section titled “Variants”Command { command_id, name, kind, options, resolved, target_id }
Section titled “Command { command_id, name, kind, options, resolved, target_id }”Types 2 and 4.
Component { custom_id, component_type, values, resolved }
Section titled “Component { custom_id, component_type, values, resolved }”Type 3.
Modal { custom_id, components, resolved }
Section titled “Modal { custom_id, components, resolved }”Type 5.
Trait implementations
Section titled “Trait implementations”Clone, Debug, Deserialize<'de>, PartialEq, Serialize, StructuralPartialEq