pub struct MultiSelectQuestion {
pub options: Vec<String>,
pub defaults: Vec<usize>,
}Expand description
Configuration for a multi-select question.
Fields§
§options: Vec<String>The options to choose from.
defaults: Vec<usize>Default selected indices.
Trait Implementations§
Source§impl Clone for MultiSelectQuestion
impl Clone for MultiSelectQuestion
Source§fn clone(&self) -> MultiSelectQuestion
fn clone(&self) -> MultiSelectQuestion
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 moreAuto Trait Implementations§
impl Freeze for MultiSelectQuestion
impl RefUnwindSafe for MultiSelectQuestion
impl Send for MultiSelectQuestion
impl Sync for MultiSelectQuestion
impl Unpin for MultiSelectQuestion
impl UnwindSafe for MultiSelectQuestion
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