pub struct AskQuestionEntry {
pub question: String,
pub options: Vec<AskQuestionOption>,
}Expand description
A question with its list of selectable options.
Maps to the Python SDK’s AskQuestionEntry.
Fields§
§question: StringThe question text to present to the user.
options: Vec<AskQuestionOption>Available answer options.
Trait Implementations§
Source§impl Clone for AskQuestionEntry
impl Clone for AskQuestionEntry
Source§fn clone(&self) -> AskQuestionEntry
fn clone(&self) -> AskQuestionEntry
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 AskQuestionEntry
impl Debug for AskQuestionEntry
Source§impl<'de> Deserialize<'de> for AskQuestionEntry
impl<'de> Deserialize<'de> for AskQuestionEntry
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 AskQuestionEntry
Source§impl PartialEq for AskQuestionEntry
impl PartialEq for AskQuestionEntry
Source§fn eq(&self, other: &AskQuestionEntry) -> bool
fn eq(&self, other: &AskQuestionEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AskQuestionEntry
impl Serialize for AskQuestionEntry
impl StructuralPartialEq for AskQuestionEntry
Auto Trait Implementations§
impl Freeze for AskQuestionEntry
impl RefUnwindSafe for AskQuestionEntry
impl Send for AskQuestionEntry
impl Sync for AskQuestionEntry
impl Unpin for AskQuestionEntry
impl UnsafeUnpin for AskQuestionEntry
impl UnwindSafe for AskQuestionEntry
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