pub struct ConfirmQuestion {
pub default: bool,
}Expand description
Configuration for a yes/no confirmation question.
Fields§
§default: boolDefault value (true for yes, false for no)
Trait Implementations§
Source§impl Clone for ConfirmQuestion
impl Clone for ConfirmQuestion
Source§fn clone(&self) -> ConfirmQuestion
fn clone(&self) -> ConfirmQuestion
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 ConfirmQuestion
impl RefUnwindSafe for ConfirmQuestion
impl Send for ConfirmQuestion
impl Sync for ConfirmQuestion
impl Unpin for ConfirmQuestion
impl UnwindSafe for ConfirmQuestion
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