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<InteractionCallbackType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InteractionCallbackType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<u8> for InteractionCallbackType
impl From<u8> for InteractionCallbackType
Source§fn from(value: u8) -> InteractionCallbackType
fn from(value: u8) -> InteractionCallbackType
Converts to this type from the input type.
Source§impl PartialEq for InteractionCallbackType
impl PartialEq for InteractionCallbackType
Source§impl Serialize for InteractionCallbackType
impl Serialize for InteractionCallbackType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.