#[non_exhaustive]pub enum Question {
Noul(Noul),
Choice(Choice),
Score(Score),
Raw(Value),
}Expand description
Any question. Raw passes a hand-built JSON object through (after light validation), which is
useful for fields this SDK version does not model yet.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Noul(Noul)
See Noul.
Choice(Choice)
See Choice.
Score(Score)
See Score.
Raw(Value)
A JSON object with a non-empty string type.
Trait Implementations§
impl StructuralPartialEq for Question
Auto Trait Implementations§
impl Freeze for Question
impl RefUnwindSafe for Question
impl Send for Question
impl Sync for Question
impl Unpin for Question
impl UnsafeUnpin for Question
impl UnwindSafe for Question
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