pub struct FixCmdArgs {
pub target: Target,
pub exclude: Vec<String>,
pub only: Vec<String>,
pub command: Option<FixSubCommand>,
}
Fields§
§target: Target
The target on which executing the command.
exclude: Vec<String>
Comma-separated list of excluded crates.
only: Vec<String>
Comma-separated list of crates to include exclusively.
command: Option<FixSubCommand>
Implementations§
Source§impl FixCmdArgs
impl FixCmdArgs
pub fn get_command(&self) -> FixSubCommand
Trait Implementations§
Source§impl Args for FixCmdArgs
impl Args for FixCmdArgs
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 Clone for FixCmdArgs
impl Clone for FixCmdArgs
Source§fn clone(&self) -> FixCmdArgs
fn clone(&self) -> FixCmdArgs
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 FromArgMatches for FixCmdArgs
impl FromArgMatches for FixCmdArgs
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
.Auto Trait Implementations§
impl Freeze for FixCmdArgs
impl RefUnwindSafe for FixCmdArgs
impl Send for FixCmdArgs
impl Sync for FixCmdArgs
impl Unpin for FixCmdArgs
impl UnwindSafe for FixCmdArgs
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