pub struct ConsoleConfig {
pub assume_yes: bool,
}
Expand description
Config for console.
Fields§
§assume_yes: bool
If true, assumes yes and skips any confirmation.
Trait Implementations§
Source§impl Clone for ConsoleConfig
impl Clone for ConsoleConfig
Source§fn clone(&self) -> ConsoleConfig
fn clone(&self) -> ConsoleConfig
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 ConsoleConfig
impl Debug for ConsoleConfig
Source§impl Default for ConsoleConfig
impl Default for ConsoleConfig
Source§fn default() -> ConsoleConfig
fn default() -> ConsoleConfig
Returns the “default value” for a type. Read more
Source§impl Hash for ConsoleConfig
impl Hash for ConsoleConfig
Source§impl PartialEq for ConsoleConfig
impl PartialEq for ConsoleConfig
impl Eq for ConsoleConfig
impl StructuralPartialEq for ConsoleConfig
Auto Trait Implementations§
impl Freeze for ConsoleConfig
impl RefUnwindSafe for ConsoleConfig
impl Send for ConsoleConfig
impl Sync for ConsoleConfig
impl Unpin for ConsoleConfig
impl UnwindSafe for ConsoleConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.