pub enum MigrateCommand {
Inventory(TargetArgs),
Archive(ArchiveArgs),
Mark(MarkArgs),
Status(TargetArgs),
Close(CloseArgs),
}Expand description
The verbs sdd migrate offers.
Variants§
Inventory(TargetArgs)
List every document the target holds, with its kind and checksum.
Archive(ArchiveArgs)
Move every document but the root metadata into the archive, and open the migration; without –apply nothing is written.
Mark(MarkArgs)
Move a source, or every source of a group, to a status.
Status(TargetArgs)
Report where every source of the open migration stands.
Close(CloseArgs)
End the open migration once every source is verified or dropped; without –apply nothing is written.
Trait Implementations§
Source§impl Debug for MigrateCommand
impl Debug for MigrateCommand
Source§impl FromArgMatches for MigrateCommand
impl FromArgMatches for MigrateCommand
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 Subcommand for MigrateCommand
impl Subcommand for MigrateCommand
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 subcommandAuto Trait Implementations§
impl Forget for MigrateCommand
impl Freeze for MigrateCommand
impl RefUnwindSafe for MigrateCommand
impl Send for MigrateCommand
impl Sync for MigrateCommand
impl Unpin for MigrateCommand
impl UnsafeUnpin for MigrateCommand
impl UnwindSafe for MigrateCommand
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