pub enum InputQuestionsValueCriteria {
Object(HashMap<String, String>),
Array(Vec<String>),
}Expand description
Used by a choice question as an object of possible choices, or by a score question as an ordered array of score legend entries.
Variants§
Trait Implementations§
Source§impl Clone for InputQuestionsValueCriteria
impl Clone for InputQuestionsValueCriteria
Source§impl Debug for InputQuestionsValueCriteria
impl Debug for InputQuestionsValueCriteria
Source§impl<'de> Deserialize<'de> for InputQuestionsValueCriteria
impl<'de> Deserialize<'de> for InputQuestionsValueCriteria
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
Auto Trait Implementations§
impl Forget for InputQuestionsValueCriteria
impl Freeze for InputQuestionsValueCriteriawhere
*const u8 is !null: Freeze,
PhantomData<(String, String)>: Freeze,
PhantomData<String>: Freeze,
impl Move for InputQuestionsValueCriteria
impl RefUnwindSafe for InputQuestionsValueCriteria
impl Send for InputQuestionsValueCriteria
impl Sync for InputQuestionsValueCriteria
impl Unpin for InputQuestionsValueCriteria
impl UnsafeUnpin for InputQuestionsValueCriteriawhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for InputQuestionsValueCriteria
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