pub struct ParsedGlobalFlags {
pub output_format: Option<OutputFormat>,
pub pretty_mode: Option<PrettyMode>,
pub color_mode: Option<ColorMode>,
pub log_level: Option<LogLevel>,
pub quiet: bool,
pub config_path: Option<String>,
}Expand description
Parsed and normalized global options.
Fields§
§output_format: Option<OutputFormat>Optional output format override.
pretty_mode: Option<PrettyMode>Optional pretty mode override.
color_mode: Option<ColorMode>Optional color mode override.
log_level: Option<LogLevel>Optional log-level override.
quiet: boolQuiet mode.
config_path: Option<String>Optional explicit config file path override.
Trait Implementations§
Source§impl Clone for ParsedGlobalFlags
impl Clone for ParsedGlobalFlags
Source§fn clone(&self) -> ParsedGlobalFlags
fn clone(&self) -> ParsedGlobalFlags
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 ParsedGlobalFlags
impl Debug for ParsedGlobalFlags
Source§impl PartialEq for ParsedGlobalFlags
impl PartialEq for ParsedGlobalFlags
impl Eq for ParsedGlobalFlags
impl StructuralPartialEq for ParsedGlobalFlags
Auto Trait Implementations§
impl Freeze for ParsedGlobalFlags
impl RefUnwindSafe for ParsedGlobalFlags
impl Send for ParsedGlobalFlags
impl Sync for ParsedGlobalFlags
impl Unpin for ParsedGlobalFlags
impl UnsafeUnpin for ParsedGlobalFlags
impl UnwindSafe for ParsedGlobalFlags
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§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.