pub enum ChatInputAnswer {
Draft(ChatInputAnswered),
Submitted(ChatInputAnswered),
Skipped(ChatInputSkipped),
Unknown(Value),
}Expand description
Draft, submitted, or skipped answer for one question.
Variants§
Draft(ChatInputAnswered)
Submitted(ChatInputAnswered)
Skipped(ChatInputSkipped)
Unknown(Value)
Unknown or future variant — preserved as raw JSON for round-trip fidelity. Reducers treat this as a no-op.
Trait Implementations§
Source§impl Clone for ChatInputAnswer
impl Clone for ChatInputAnswer
Source§fn clone(&self) -> ChatInputAnswer
fn clone(&self) -> ChatInputAnswer
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 ChatInputAnswer
impl Debug for ChatInputAnswer
Source§impl<'de> Deserialize<'de> for ChatInputAnswer
impl<'de> Deserialize<'de> for ChatInputAnswer
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 PartialEq for ChatInputAnswer
impl PartialEq for ChatInputAnswer
Source§fn eq(&self, other: &ChatInputAnswer) -> bool
fn eq(&self, other: &ChatInputAnswer) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChatInputAnswer
impl Serialize for ChatInputAnswer
impl StructuralPartialEq for ChatInputAnswer
Auto Trait Implementations§
impl Freeze for ChatInputAnswer
impl RefUnwindSafe for ChatInputAnswer
impl Send for ChatInputAnswer
impl Sync for ChatInputAnswer
impl Unpin for ChatInputAnswer
impl UnsafeUnpin for ChatInputAnswer
impl UnwindSafe for ChatInputAnswer
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