pub enum ChatInputAnswerValueKind {
Text,
Number,
Boolean,
Selected,
SelectedMany,
}Expand description
Answer value kind.
Variants§
Trait Implementations§
Source§impl Clone for ChatInputAnswerValueKind
impl Clone for ChatInputAnswerValueKind
Source§fn clone(&self) -> ChatInputAnswerValueKind
fn clone(&self) -> ChatInputAnswerValueKind
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 ChatInputAnswerValueKind
Source§impl Debug for ChatInputAnswerValueKind
impl Debug for ChatInputAnswerValueKind
Source§impl<'de> Deserialize<'de> for ChatInputAnswerValueKind
impl<'de> Deserialize<'de> for ChatInputAnswerValueKind
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 ChatInputAnswerValueKind
Source§impl Hash for ChatInputAnswerValueKind
impl Hash for ChatInputAnswerValueKind
Source§impl PartialEq for ChatInputAnswerValueKind
impl PartialEq for ChatInputAnswerValueKind
Source§fn eq(&self, other: &ChatInputAnswerValueKind) -> bool
fn eq(&self, other: &ChatInputAnswerValueKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChatInputAnswerValueKind
impl Serialize for ChatInputAnswerValueKind
impl StructuralPartialEq for ChatInputAnswerValueKind
Auto Trait Implementations§
impl Freeze for ChatInputAnswerValueKind
impl RefUnwindSafe for ChatInputAnswerValueKind
impl Send for ChatInputAnswerValueKind
impl Sync for ChatInputAnswerValueKind
impl Unpin for ChatInputAnswerValueKind
impl UnsafeUnpin for ChatInputAnswerValueKind
impl UnwindSafe for ChatInputAnswerValueKind
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