Enum jlabel_question::AllQuestion
source · pub enum AllQuestion {
Phone(Question<PhonePosition>),
SignedRange(Question<SignedRangePosition>),
UnsignedRange(Question<UnsignedRangePosition>),
Boolean(Question<BooleanPosition>),
Category(Question<CategoryPosition>),
Undefined(Question<UndefinedPotision>),
}
Expand description
A main structure representing question.
Variants§
Phone(Question<PhonePosition>)
Question about phone fields of full-context label
SignedRange(Question<SignedRangePosition>)
Question about signed integer fields of full-context label
UnsignedRange(Question<UnsignedRangePosition>)
Question about unsigned integer fields of full-context label
Boolean(Question<BooleanPosition>)
Question about boolean fields of full-context label
Category(Question<CategoryPosition>)
Question about numerical categorical fields of full-context label
Undefined(Question<UndefinedPotision>)
Question about undefined (always xx
) fields of full-context label
Trait Implementations§
source§impl Clone for AllQuestion
impl Clone for AllQuestion
source§fn clone(&self) -> AllQuestion
fn clone(&self) -> AllQuestion
Returns a copy of the value. Read more
1.0.0 · 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 AllQuestion
impl Debug for AllQuestion
source§impl<'de> Deserialize<'de> for AllQuestion
impl<'de> Deserialize<'de> for AllQuestion
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 AllQuestion
impl PartialEq for AllQuestion
source§fn eq(&self, other: &AllQuestion) -> bool
fn eq(&self, other: &AllQuestion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl QuestionMatcher for AllQuestion
impl QuestionMatcher for AllQuestion
source§impl Serialize for AllQuestion
impl Serialize for AllQuestion
impl Eq for AllQuestion
impl StructuralPartialEq for AllQuestion
Auto Trait Implementations§
impl Freeze for AllQuestion
impl RefUnwindSafe for AllQuestion
impl Send for AllQuestion
impl Sync for AllQuestion
impl Unpin for AllQuestion
impl UnwindSafe for AllQuestion
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