pub enum MigrateSources {
All,
List(Vec<String>),
}Expand description
Which source-repository snapshot sources kopia snapshot migrate copies.
Variants§
All
--all: migrate every source present in the source repository.
List(Vec<String>)
One --sources <spec> per entry. Each spec is a kopia source triple
rendered as username@hostname:/path (see
crate::model::SnapshotSource::identity).
Trait Implementations§
Source§impl Clone for MigrateSources
impl Clone for MigrateSources
Source§fn clone(&self) -> MigrateSources
fn clone(&self) -> MigrateSources
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 MigrateSources
impl Debug for MigrateSources
impl Eq for MigrateSources
Source§impl PartialEq for MigrateSources
impl PartialEq for MigrateSources
Source§fn eq(&self, other: &MigrateSources) -> bool
fn eq(&self, other: &MigrateSources) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MigrateSources
Auto Trait Implementations§
impl Freeze for MigrateSources
impl RefUnwindSafe for MigrateSources
impl Send for MigrateSources
impl Sync for MigrateSources
impl Unpin for MigrateSources
impl UnsafeUnpin for MigrateSources
impl UnwindSafe for MigrateSources
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