pub struct Command {Show 15 fields
pub audit: bool,
pub audit_path: InputPath,
pub clippy: bool,
pub clippy_path: InputPath,
pub deny: bool,
pub deny_path: InputPath,
pub outdated: bool,
pub outdated_path: InputPath,
pub typos: bool,
pub typos_path: InputPath,
pub udeps: bool,
pub udeps_path: InputPath,
pub sonar_path: PathBuf,
pub codeclimate_path: PathBuf,
pub completion: Option<Shell>,
}Fields§
§audit: boolEnable parsing of the ‘cargo audit’ report
audit_path: InputPathPath of the ‘cargo audit’ report (or - for stdin)
clippy: boolEnable parsing of the ‘cargo clippy’ report
clippy_path: InputPathPath of the ‘cargo clippy’ report (or - for stdin)
deny: boolEnable parsing of the ‘cargo deny’ report
deny_path: InputPathPath of the ‘cargo deny’ report (or - for stdin)
outdated: boolEnable parsing of the ‘cargo outdated’ report
outdated_path: InputPathPath of the ‘cargo outdated’ report (or - for stdin)
typos: boolEnable parsing of the ‘typos’ report
typos_path: InputPathPath of the ‘typos’ report (or - for stdin)
udeps: boolEnable parsing of the ‘cargo udeps’ report
udeps_path: InputPathPath of the ‘cargo udeps’ report (or - for stdin)
sonar_path: PathBufPath to the generated sonar report
codeclimate_path: PathBufPath to the generated codeclimate report
completion: Option<Shell>Generate completion rules for some shells
Implementations§
Source§impl Command
impl Command
pub fn generate_completion(&self)
Trait Implementations§
Source§impl Args for Command
impl Args for Command
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 CommandFactory for Command
impl CommandFactory for Command
Source§impl FromArgMatches for Command
impl FromArgMatches for Command
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 Parser for Command
impl Parser for Command
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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