pub enum InteractionCallbackType {
Pong = 1,
ChannelMessageWithSource = 4,
DeferredChannelMessageWithSource = 5,
DeferredUpdateMessage = 6,
UpdateMessage = 7,
ApplicationCommandAutocompleteResult = 8,
Modal = 9,
}Expand description
Callback Type.
Variants§
Pong = 1
Pong (HTTP).
ChannelMessageWithSource = 4
Channel Message With Source.
DeferredChannelMessageWithSource = 5
Deferred Channel Message With Source.
DeferredUpdateMessage = 6
Deferred Update Message (Components).
UpdateMessage = 7
Update Message (Components).
ApplicationCommandAutocompleteResult = 8
Autocomplete Result.
Modal = 9
Modal.
Trait Implementations§
Source§impl Clone for InteractionCallbackType
impl Clone for InteractionCallbackType
Source§fn clone(&self) -> InteractionCallbackType
fn clone(&self) -> InteractionCallbackType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InteractionCallbackType
impl Debug for InteractionCallbackType
Source§impl<'de> Deserialize<'de> for InteractionCallbackType
impl<'de> Deserialize<'de> for InteractionCallbackType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<InteractionCallbackType> for u8
impl From<InteractionCallbackType> for u8
Source§fn from(value: InteractionCallbackType) -> Self
fn from(value: InteractionCallbackType) -> Self
Converts to this type from the input type.
Source§impl From<u8> for InteractionCallbackType
impl From<u8> for InteractionCallbackType
Source§impl PartialEq for InteractionCallbackType
impl PartialEq for InteractionCallbackType
Source§impl Serialize for InteractionCallbackType
impl Serialize for InteractionCallbackType
impl Copy for InteractionCallbackType
impl Eq for InteractionCallbackType
impl StructuralPartialEq for InteractionCallbackType
Auto Trait Implementations§
impl Freeze for InteractionCallbackType
impl RefUnwindSafe for InteractionCallbackType
impl Send for InteractionCallbackType
impl Sync for InteractionCallbackType
impl Unpin for InteractionCallbackType
impl UnwindSafe for InteractionCallbackType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more