pub struct Question {
pub id: String,
pub qtype: QType,
pub instructions: Option<Value>,
pub criteria: Criteria,
}Expand description
One validated question.
Fields§
§id: StringThe key it was sent under.
qtype: QTypeIts type.
instructions: Option<Value>The instructions. None when the field was left out, which is not the same as null: Laya
renders null as the text null.
criteria: CriteriaIts criteria.
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