pub struct ShowConfigOptions {
pub no_defaults: bool,
pub show_sources: bool,
}Expand description
Options for the config show command
Fields§
§no_defaults: boolHide settings that have their default value
show_sources: boolShow the source (toml, env, cli) for each setting
Trait Implementations§
Source§impl Clone for ShowConfigOptions
impl Clone for ShowConfigOptions
Source§fn clone(&self) -> ShowConfigOptions
fn clone(&self) -> ShowConfigOptions
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 ShowConfigOptions
impl Debug for ShowConfigOptions
Source§impl Default for ShowConfigOptions
impl Default for ShowConfigOptions
Source§fn default() -> ShowConfigOptions
fn default() -> ShowConfigOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ShowConfigOptions
impl RefUnwindSafe for ShowConfigOptions
impl Send for ShowConfigOptions
impl Sync for ShowConfigOptions
impl Unpin for ShowConfigOptions
impl UnsafeUnpin for ShowConfigOptions
impl UnwindSafe for ShowConfigOptions
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