pub enum QuestionKind {
Noul,
Choice,
Score,
Span,
Derived,
}Expand description
Question type tags. Span/Derived are reserved for profile v2: recognized by the
authoring layer (rejected with crate::error::SpecErrorKind::ReservedQuestionType)
so that a v2 document fails loudly instead of being misread.
Variants§
Noul
Statement judged against the state; answered with P(true).
Choice
One of 2–255 pre-enumerated options; answered with a probability per option.
Score
Ordered rubric levels; answered with a probability per level.
Span
Reserved for profile v2 (span extraction).
Derived
Reserved for profile v2 (derived/computed questions).
Implementations§
Source§impl QuestionKind
impl QuestionKind
Trait Implementations§
Source§impl Clone for QuestionKind
impl Clone for QuestionKind
Source§fn clone(&self) -> QuestionKind
fn clone(&self) -> QuestionKind
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 QuestionKind
impl Debug for QuestionKind
Source§impl Display for QuestionKind
impl Display for QuestionKind
Source§impl Hash for QuestionKind
impl Hash for QuestionKind
Source§impl PartialEq for QuestionKind
impl PartialEq for QuestionKind
Source§fn eq(&self, other: &QuestionKind) -> bool
fn eq(&self, other: &QuestionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for QuestionKind
impl Eq for QuestionKind
impl StructuralPartialEq for QuestionKind
Auto Trait Implementations§
impl Freeze for QuestionKind
impl RefUnwindSafe for QuestionKind
impl Send for QuestionKind
impl Sync for QuestionKind
impl Unpin for QuestionKind
impl UnsafeUnpin for QuestionKind
impl UnwindSafe for QuestionKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.