pub struct MigrateV2Args {
pub path: PathBuf,
pub dry_run: bool,
pub skip: Vec<String>,
}Expand description
Arguments for the migrate-manouche-v2 subcommand.
Fields§
§path: PathBufRoot path to migrate. Defaults to the current workspace.
dry_run: boolPrint changes without writing them.
skip: Vec<String>Comma-separated list of rule names to skip (e.g. --skip use_effect_deps).
Trait Implementations§
Source§impl Args for MigrateV2Args
impl Args for MigrateV2Args
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 Debug for MigrateV2Args
impl Debug for MigrateV2Args
Source§impl FromArgMatches for MigrateV2Args
impl FromArgMatches for MigrateV2Args
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 MigrateV2Args
impl RefUnwindSafe for MigrateV2Args
impl Send for MigrateV2Args
impl Sync for MigrateV2Args
impl Unpin for MigrateV2Args
impl UnsafeUnpin for MigrateV2Args
impl UnwindSafe for MigrateV2Args
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