#[repr(u8)]pub enum InteractionDataType {
ChatInputSearch = 9,
HttpProxy = 10,
InlineKeyboardButtonClick = 11,
CallbackCommandClick = 12,
MessageFeedbackClick = 13,
ClearSessionClick = 14,
}Expand description
Interaction data type enumeration
Variants§
ChatInputSearch = 9
Chat input search
HttpProxy = 10
HTTP proxy
InlineKeyboardButtonClick = 11
Inline keyboard button click
CallbackCommandClick = 12
C2C callback command click
MessageFeedbackClick = 13
Message feedback click
ClearSessionClick = 14
Clear session click
Trait Implementations§
Source§impl Clone for InteractionDataType
impl Clone for InteractionDataType
Source§fn clone(&self) -> InteractionDataType
fn clone(&self) -> InteractionDataType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InteractionDataType
impl Debug for InteractionDataType
Source§impl<'de> Deserialize<'de> for InteractionDataType
impl<'de> Deserialize<'de> for InteractionDataType
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<InteractionDataType> for u8
impl From<InteractionDataType> for u8
Source§fn from(value: InteractionDataType) -> Self
fn from(value: InteractionDataType) -> Self
Converts to this type from the input type.
Source§impl From<u8> for InteractionDataType
impl From<u8> for InteractionDataType
Source§impl PartialEq for InteractionDataType
impl PartialEq for InteractionDataType
Source§fn eq(&self, other: &InteractionDataType) -> bool
fn eq(&self, other: &InteractionDataType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InteractionDataType
impl Serialize for InteractionDataType
impl Copy for InteractionDataType
impl Eq for InteractionDataType
impl StructuralPartialEq for InteractionDataType
Auto Trait Implementations§
impl Freeze for InteractionDataType
impl RefUnwindSafe for InteractionDataType
impl Send for InteractionDataType
impl Sync for InteractionDataType
impl Unpin for InteractionDataType
impl UnsafeUnpin for InteractionDataType
impl UnwindSafe for InteractionDataType
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.