pub struct AnyOfQuestion {
pub variants: Vec<Variant>,
pub defaults: Vec<usize>,
}Expand description
Configuration for an AnyOf question (multi-select with potential follow-up questions).
Fields§
§variants: Vec<Variant>The available variants to choose from.
defaults: Vec<usize>Default selected indices (if any).
Implementations§
Trait Implementations§
Source§impl Clone for AnyOfQuestion
impl Clone for AnyOfQuestion
Source§fn clone(&self) -> AnyOfQuestion
fn clone(&self) -> AnyOfQuestion
Returns a duplicate 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 AnyOfQuestion
impl Debug for AnyOfQuestion
Source§impl PartialEq for AnyOfQuestion
impl PartialEq for AnyOfQuestion
impl StructuralPartialEq for AnyOfQuestion
Auto Trait Implementations§
impl Freeze for AnyOfQuestion
impl RefUnwindSafe for AnyOfQuestion
impl Send for AnyOfQuestion
impl Sync for AnyOfQuestion
impl Unpin for AnyOfQuestion
impl UnwindSafe for AnyOfQuestion
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