pub enum SessionInputAnswer {
Draft(SessionInputAnswered),
Submitted(SessionInputAnswered),
Skipped(SessionInputSkipped),
Unknown(Value),
}Expand description
Draft, submitted, or skipped answer for one question.
Variants§
Draft(SessionInputAnswered)
Submitted(SessionInputAnswered)
Skipped(SessionInputSkipped)
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 SessionInputAnswer
impl Clone for SessionInputAnswer
Source§fn clone(&self) -> SessionInputAnswer
fn clone(&self) -> SessionInputAnswer
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 SessionInputAnswer
impl Debug for SessionInputAnswer
Source§impl<'de> Deserialize<'de> for SessionInputAnswer
impl<'de> Deserialize<'de> for SessionInputAnswer
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 SessionInputAnswer
impl PartialEq for SessionInputAnswer
Source§fn eq(&self, other: &SessionInputAnswer) -> bool
fn eq(&self, other: &SessionInputAnswer) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionInputAnswer
impl Serialize for SessionInputAnswer
impl StructuralPartialEq for SessionInputAnswer
Auto Trait Implementations§
impl Freeze for SessionInputAnswer
impl RefUnwindSafe for SessionInputAnswer
impl Send for SessionInputAnswer
impl Sync for SessionInputAnswer
impl Unpin for SessionInputAnswer
impl UnsafeUnpin for SessionInputAnswer
impl UnwindSafe for SessionInputAnswer
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