pub struct SessionInputAnswerChangedAction {
pub request_id: String,
pub question_id: String,
pub answer: Option<SessionInputAnswer>,
}Expand description
A client updated, submitted, skipped, or removed a single in-progress answer.
Dispatching with answer: undefined removes that question’s answer draft.
Fields§
§request_id: StringInput request identifier
question_id: StringQuestion identifier within the input request
answer: Option<SessionInputAnswer>Updated answer, or undefined to clear an answer draft
Trait Implementations§
Source§impl Clone for SessionInputAnswerChangedAction
impl Clone for SessionInputAnswerChangedAction
Source§fn clone(&self) -> SessionInputAnswerChangedAction
fn clone(&self) -> SessionInputAnswerChangedAction
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<'de> Deserialize<'de> for SessionInputAnswerChangedAction
impl<'de> Deserialize<'de> for SessionInputAnswerChangedAction
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 SessionInputAnswerChangedAction
impl PartialEq for SessionInputAnswerChangedAction
Source§fn eq(&self, other: &SessionInputAnswerChangedAction) -> bool
fn eq(&self, other: &SessionInputAnswerChangedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionInputAnswerChangedAction
Auto Trait Implementations§
impl Freeze for SessionInputAnswerChangedAction
impl RefUnwindSafe for SessionInputAnswerChangedAction
impl Send for SessionInputAnswerChangedAction
impl Sync for SessionInputAnswerChangedAction
impl Unpin for SessionInputAnswerChangedAction
impl UnsafeUnpin for SessionInputAnswerChangedAction
impl UnwindSafe for SessionInputAnswerChangedAction
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