Struct display_tweak::TopLevelArgs
source · pub(crate) struct TopLevelArgs {
pub(crate) command: TweakCommand,
}
Expand description
Top-level command line arguments.
Fields§
§command: TweakCommand
Trait Implementations§
source§impl Debug for TopLevelArgs
impl Debug for TopLevelArgs
source§impl FromArgs for TopLevelArgs
impl FromArgs for TopLevelArgs
source§fn from_args(__cmd_name: &[&str], __args: &[&str]) -> Result<Self, EarlyExit>
fn from_args(__cmd_name: &[&str], __args: &[&str]) -> Result<Self, EarlyExit>
Construct the type from an input set of arguments. Read more
source§fn redact_arg_values(
__cmd_name: &[&str],
__args: &[&str]
) -> Result<Vec<String>, EarlyExit>
fn redact_arg_values( __cmd_name: &[&str], __args: &[&str] ) -> Result<Vec<String>, EarlyExit>
Get a String with just the argument names, e.g., options, flags, subcommands, etc, but
without the values of the options and arguments. This can be useful as a means to capture
anonymous usage statistics without revealing the content entered by the end user. Read more
source§impl PartialEq<TopLevelArgs> for TopLevelArgs
impl PartialEq<TopLevelArgs> for TopLevelArgs
source§fn eq(&self, other: &TopLevelArgs) -> bool
fn eq(&self, other: &TopLevelArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.