pub struct StandardOptions {
pub color: ColorChoice,
pub debug: bool,
pub license: bool,
pub verbose: u8,
pub version: bool,
}Fields§
§color: ColorChoiceSet the color output mode
debug: boolEnable debugging output
license: boolShow license information
verbose: u8Enable verbose output (may be repeated for more verbosity)
version: boolPrint version information
Trait Implementations§
Source§impl Args for StandardOptions
impl Args for StandardOptions
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for StandardOptions
impl Debug for StandardOptions
Source§impl FromArgMatches for StandardOptions
impl FromArgMatches for StandardOptions
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Into<LevelFilter> for &StandardOptions
Available on crate feature tracing only.
impl Into<LevelFilter> for &StandardOptions
Available on crate feature
tracing only.Source§fn into(self) -> LevelFilter
fn into(self) -> LevelFilter
Converts this type into the (usually inferred) input type.
Source§impl Into<LevelFilter> for StandardOptions
Available on crate feature tracing only.
impl Into<LevelFilter> for StandardOptions
Available on crate feature
tracing only.Source§fn into(self) -> LevelFilter
fn into(self) -> LevelFilter
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for StandardOptions
impl RefUnwindSafe for StandardOptions
impl Send for StandardOptions
impl Sync for StandardOptions
impl Unpin for StandardOptions
impl UnwindSafe for StandardOptions
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