pub enum UserInputSelectionMode {
Single,
Multiple,
}Expand description
Whether a question takes one option or several.
Variants§
Single
single: the user picks one option, answered with selectedLabel, or
gives a free-text answer instead.
Multiple
multiple: an answer may select several options, within the
question’s bounds. Options never carry a preview in this mode.
Trait Implementations§
Source§impl Clone for UserInputSelectionMode
impl Clone for UserInputSelectionMode
impl Copy for UserInputSelectionMode
Source§impl Debug for UserInputSelectionMode
impl Debug for UserInputSelectionMode
Source§impl<'de> Deserialize<'de> for UserInputSelectionMode
impl<'de> Deserialize<'de> for UserInputSelectionMode
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
impl Eq for UserInputSelectionMode
Source§impl PartialEq for UserInputSelectionMode
impl PartialEq for UserInputSelectionMode
Source§impl Serialize for UserInputSelectionMode
impl Serialize for UserInputSelectionMode
impl StructuralPartialEq for UserInputSelectionMode
Auto Trait Implementations§
impl Freeze for UserInputSelectionMode
impl RefUnwindSafe for UserInputSelectionMode
impl Send for UserInputSelectionMode
impl Sync for UserInputSelectionMode
impl Unpin for UserInputSelectionMode
impl UnsafeUnpin for UserInputSelectionMode
impl UnwindSafe for UserInputSelectionMode
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