pub enum FixSubCommand {
All,
Audit,
Format,
Lint,
Typos,
}
Variants§
All
Run all the checks.
Audit
Run audit command.
Format
Run format command and fix formatting.
Lint
Run lint command and fix issues.
Typos
Find typos in source code and fix them.
Trait Implementations§
Source§impl Clone for FixSubCommand
impl Clone for FixSubCommand
Source§fn clone(&self) -> FixSubCommand
fn clone(&self) -> FixSubCommand
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 Default for FixSubCommand
impl Default for FixSubCommand
Source§fn default() -> FixSubCommand
fn default() -> FixSubCommand
Returns the “default value” for a type. Read more
Source§impl Display for FixSubCommand
impl Display for FixSubCommand
Source§impl FromArgMatches for FixSubCommand
impl FromArgMatches for FixSubCommand
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<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Source§impl FromStr for FixSubCommand
impl FromStr for FixSubCommand
Source§impl IntoEnumIterator for FixSubCommand
impl IntoEnumIterator for FixSubCommand
type Iterator = FixSubCommandIter
fn iter() -> FixSubCommandIter ⓘ
Source§impl PartialEq for FixSubCommand
impl PartialEq for FixSubCommand
Source§impl Subcommand for FixSubCommand
impl Subcommand for FixSubCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command
so it can instantiate self
via
FromArgMatches::update_from_arg_matches_mut
Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self
can parse a specific subcommandSource§impl TryFrom<&str> for FixSubCommand
impl TryFrom<&str> for FixSubCommand
impl StructuralPartialEq for FixSubCommand
Auto Trait Implementations§
impl Freeze for FixSubCommand
impl RefUnwindSafe for FixSubCommand
impl Send for FixSubCommand
impl Sync for FixSubCommand
impl Unpin for FixSubCommand
impl UnwindSafe for FixSubCommand
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