pub struct MigrateOptions {
pub verify: bool,
pub plan: bool,
pub safe: bool,
}Fields§
§verify: boolVerify migration consistency without applying changes
plan: boolPrint pending migration plan without applying changes
safe: boolVerify first, then apply if checks pass
Trait Implementations§
Source§impl Args for MigrateOptions
impl Args for MigrateOptions
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 MigrateOptions
impl Clone for MigrateOptions
Source§fn clone(&self) -> MigrateOptions
fn clone(&self) -> MigrateOptions
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 MigrateOptions
impl Debug for MigrateOptions
Source§impl Default for MigrateOptions
impl Default for MigrateOptions
Source§fn default() -> MigrateOptions
fn default() -> MigrateOptions
Returns the “default value” for a type. Read more
Source§impl FromArgMatches for MigrateOptions
impl FromArgMatches for MigrateOptions
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.impl Copy for MigrateOptions
Auto Trait Implementations§
impl Freeze for MigrateOptions
impl RefUnwindSafe for MigrateOptions
impl Send for MigrateOptions
impl Sync for MigrateOptions
impl Unpin for MigrateOptions
impl UnsafeUnpin for MigrateOptions
impl UnwindSafe for MigrateOptions
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