pub struct DryRunArgs {
pub dry_run: bool,
}Expand description
-n/--dry-run with --preview as the visible alias.
Fields§
§dry_run: boolValidate and print the plan. Write nothing.
Trait Implementations§
Source§impl Args for DryRunArgs
impl Args for DryRunArgs
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 DryRunArgs
impl Clone for DryRunArgs
Source§fn clone(&self) -> DryRunArgs
fn clone(&self) -> DryRunArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DryRunArgs
impl Debug for DryRunArgs
Source§impl Default for DryRunArgs
impl Default for DryRunArgs
Source§fn default() -> DryRunArgs
fn default() -> DryRunArgs
Returns the “default value” for a type. Read more
impl Eq for DryRunArgs
Source§impl FromArgMatches for DryRunArgs
impl FromArgMatches for DryRunArgs
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 PartialEq for DryRunArgs
impl PartialEq for DryRunArgs
impl StructuralPartialEq for DryRunArgs
Auto Trait Implementations§
impl Freeze for DryRunArgs
impl RefUnwindSafe for DryRunArgs
impl Send for DryRunArgs
impl Sync for DryRunArgs
impl Unpin for DryRunArgs
impl UnsafeUnpin for DryRunArgs
impl UnwindSafe for DryRunArgs
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