pub enum ChatInputResponseKind {
Accept,
Decline,
Cancel,
}Expand description
How a client completed an input request.
Variants§
Trait Implementations§
Source§impl Clone for ChatInputResponseKind
impl Clone for ChatInputResponseKind
Source§fn clone(&self) -> ChatInputResponseKind
fn clone(&self) -> ChatInputResponseKind
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 moreimpl Copy for ChatInputResponseKind
Source§impl Debug for ChatInputResponseKind
impl Debug for ChatInputResponseKind
Source§impl<'de> Deserialize<'de> for ChatInputResponseKind
impl<'de> Deserialize<'de> for ChatInputResponseKind
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
impl Eq for ChatInputResponseKind
Source§impl Hash for ChatInputResponseKind
impl Hash for ChatInputResponseKind
Source§impl PartialEq for ChatInputResponseKind
impl PartialEq for ChatInputResponseKind
Source§fn eq(&self, other: &ChatInputResponseKind) -> bool
fn eq(&self, other: &ChatInputResponseKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChatInputResponseKind
impl Serialize for ChatInputResponseKind
impl StructuralPartialEq for ChatInputResponseKind
Auto Trait Implementations§
impl Freeze for ChatInputResponseKind
impl RefUnwindSafe for ChatInputResponseKind
impl Send for ChatInputResponseKind
impl Sync for ChatInputResponseKind
impl Unpin for ChatInputResponseKind
impl UnsafeUnpin for ChatInputResponseKind
impl UnwindSafe for ChatInputResponseKind
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