pub enum QueryDefault {
Yes,
No,
Neither,
}Expand description
Default response options for user queries.
Variants§
Yes
Default to “yes” if user presses enter without input.
No
Default to “no” if user presses enter without input.
Neither
Require explicit user input (no default).
Auto Trait Implementations§
impl Freeze for QueryDefault
impl RefUnwindSafe for QueryDefault
impl Send for QueryDefault
impl Sync for QueryDefault
impl Unpin for QueryDefault
impl UnwindSafe for QueryDefault
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