Enum serenity::model::interactions::Interaction [−][src]
pub enum Interaction {
Ping(PingInteraction),
ApplicationCommand(ApplicationCommandInteraction),
MessageComponent(MessageComponentInteraction),
Autocomplete(AutocompleteInteraction),
}
Variants
Ping(PingInteraction)
Tuple Fields
ApplicationCommand(ApplicationCommandInteraction)
Tuple Fields
MessageComponent(MessageComponentInteraction)
Tuple Fields
Autocomplete(AutocompleteInteraction)
Tuple Fields
Implementations
Gets the interaction Id.
Gets the interaction type
Gets the interaction application Id
Gets the invoked guild locale.
Converts this to a PingInteraction
Converts this to an ApplicationCommandInteraction
Converts this to a MessageComponentInteraction
Converts this to a AutocompleteInteraction
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Interaction
impl Send for Interaction
impl Sync for Interaction
impl Unpin for Interaction
impl UnwindSafe for Interaction
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more