Enum serenity::model::interactions::Interaction
source · [−]pub enum Interaction {
Ping(PingInteraction),
ApplicationCommand(ApplicationCommandInteraction),
MessageComponent(MessageComponentInteraction),
Autocomplete(AutocompleteInteraction),
}
Variants
Ping(PingInteraction)
ApplicationCommand(ApplicationCommandInteraction)
MessageComponent(MessageComponentInteraction)
Autocomplete(AutocompleteInteraction)
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
pub fn vzip(self) -> V
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