pub enum ChatInputQuestion {
Text(ChatInputTextQuestion),
Number(ChatInputNumberQuestion),
Integer(ChatInputNumberQuestion),
Boolean(ChatInputBooleanQuestion),
SingleSelect(ChatInputSingleSelectQuestion),
MultiSelect(ChatInputMultiSelectQuestion),
Unknown(Value),
}Expand description
One question within a chat input request.
Variants§
Text(ChatInputTextQuestion)
Number(ChatInputNumberQuestion)
Integer(ChatInputNumberQuestion)
Boolean(ChatInputBooleanQuestion)
SingleSelect(ChatInputSingleSelectQuestion)
MultiSelect(ChatInputMultiSelectQuestion)
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 ChatInputQuestion
impl Clone for ChatInputQuestion
Source§fn clone(&self) -> ChatInputQuestion
fn clone(&self) -> ChatInputQuestion
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 ChatInputQuestion
impl Debug for ChatInputQuestion
Source§impl<'de> Deserialize<'de> for ChatInputQuestion
impl<'de> Deserialize<'de> for ChatInputQuestion
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 ChatInputQuestion
impl PartialEq for ChatInputQuestion
Source§fn eq(&self, other: &ChatInputQuestion) -> bool
fn eq(&self, other: &ChatInputQuestion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChatInputQuestion
impl Serialize for ChatInputQuestion
impl StructuralPartialEq for ChatInputQuestion
Auto Trait Implementations§
impl Freeze for ChatInputQuestion
impl RefUnwindSafe for ChatInputQuestion
impl Send for ChatInputQuestion
impl Sync for ChatInputQuestion
impl Unpin for ChatInputQuestion
impl UnsafeUnpin for ChatInputQuestion
impl UnwindSafe for ChatInputQuestion
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