Struct hw_info::BuildInfoCmd
source · pub(crate) struct BuildInfoCmd {
pub(crate) info: HardwareInfo,
}
Expand description
Hardware information command.
Fields§
§info: HardwareInfo
valid keys: <device_info> <product_info> <board_info>
Trait Implementations§
source§impl Debug for BuildInfoCmd
impl Debug for BuildInfoCmd
source§impl FromArgs for BuildInfoCmd
impl FromArgs for BuildInfoCmd
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<BuildInfoCmd> for BuildInfoCmd
impl PartialEq<BuildInfoCmd> for BuildInfoCmd
source§fn eq(&self, other: &BuildInfoCmd) -> bool
fn eq(&self, other: &BuildInfoCmd) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.