#[non_exhaustive]pub enum MigrationScope {
All,
Roots(Vec<PathBuf>),
}Expand description
Persisted scope of a migration; selected roots include directory descendants.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
All
Historical whole-tree migration.
Roots(Vec<PathBuf>)
Canonical relative roots, including an explicit empty selection.
Trait Implementations§
Source§impl Clone for MigrationScope
impl Clone for MigrationScope
Source§impl Debug for MigrationScope
impl Debug for MigrationScope
impl Eq for MigrationScope
Source§impl PartialEq for MigrationScope
impl PartialEq for MigrationScope
impl StructuralPartialEq for MigrationScope
Auto Trait Implementations§
impl Freeze for MigrationScope
impl RefUnwindSafe for MigrationScope
impl Send for MigrationScope
impl Sync for MigrationScope
impl Unpin for MigrationScope
impl UnsafeUnpin for MigrationScope
impl UnwindSafe for MigrationScope
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