pub struct ClarificationAnswer {
pub question: String,
pub selected_options: Vec<String>,
pub free_text: Option<String>,
}Expand description
Validated answer to one clarification question.
Fields§
§question: StringExact question text identifying the durable request question.
selected_options: Vec<String>Selected durable option labels.
free_text: Option<String>Optional non-empty free-text answer.
Trait Implementations§
Source§impl Clone for ClarificationAnswer
impl Clone for ClarificationAnswer
Source§fn clone(&self) -> ClarificationAnswer
fn clone(&self) -> ClarificationAnswer
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 ClarificationAnswer
impl Debug for ClarificationAnswer
Source§impl<'de> Deserialize<'de> for ClarificationAnswer
impl<'de> Deserialize<'de> for ClarificationAnswer
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 ClarificationAnswer
Source§impl PartialEq for ClarificationAnswer
impl PartialEq for ClarificationAnswer
Source§impl Serialize for ClarificationAnswer
impl Serialize for ClarificationAnswer
impl StructuralPartialEq for ClarificationAnswer
Auto Trait Implementations§
impl Freeze for ClarificationAnswer
impl RefUnwindSafe for ClarificationAnswer
impl Send for ClarificationAnswer
impl Sync for ClarificationAnswer
impl Unpin for ClarificationAnswer
impl UnsafeUnpin for ClarificationAnswer
impl UnwindSafe for ClarificationAnswer
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