pub struct UserInputAnswerEvent {
pub id: String,
pub label: String,
pub value: String,
}Expand description
One answer to a clarification question.
Fields§
§id: StringThe id of the question this answer corresponds to.
label: StringThe selected option’s label, or "Other" for a free-text response.
value: StringThe resolved value (option label, or the typed free-text).
Trait Implementations§
Source§impl Clone for UserInputAnswerEvent
impl Clone for UserInputAnswerEvent
Source§fn clone(&self) -> UserInputAnswerEvent
fn clone(&self) -> UserInputAnswerEvent
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 UserInputAnswerEvent
impl Debug for UserInputAnswerEvent
Source§impl<'de> Deserialize<'de> for UserInputAnswerEvent
impl<'de> Deserialize<'de> for UserInputAnswerEvent
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 UserInputAnswerEvent
Source§impl PartialEq for UserInputAnswerEvent
impl PartialEq for UserInputAnswerEvent
Source§fn eq(&self, other: &UserInputAnswerEvent) -> bool
fn eq(&self, other: &UserInputAnswerEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UserInputAnswerEvent
impl Serialize for UserInputAnswerEvent
impl StructuralPartialEq for UserInputAnswerEvent
Auto Trait Implementations§
impl Freeze for UserInputAnswerEvent
impl RefUnwindSafe for UserInputAnswerEvent
impl Send for UserInputAnswerEvent
impl Sync for UserInputAnswerEvent
impl Unpin for UserInputAnswerEvent
impl UnsafeUnpin for UserInputAnswerEvent
impl UnwindSafe for UserInputAnswerEvent
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