pub struct LayoutMigrationResult {
pub root: PathBuf,
pub from: LayoutKind,
pub to: LayoutKind,
pub moves: Vec<LayoutMove>,
pub unclaimed: Vec<PathBuf>,
pub changed: bool,
pub dry_run: bool,
}Expand description
What migrate_layout moved, or would move under dry_run.
Fields§
§root: PathBuf§from: LayoutKind§to: LayoutKind§moves: Vec<LayoutMove>Every rename the move needs, in the order it is applied. Empty when nothing had to move.
unclaimed: Vec<PathBuf>Files in the root the move does not understand and therefore left where they were.
changed: boolfalse when the database was already in the target arrangement under the target name.
dry_run: boolTrait Implementations§
Source§impl Clone for LayoutMigrationResult
impl Clone for LayoutMigrationResult
Source§impl Debug for LayoutMigrationResult
impl Debug for LayoutMigrationResult
impl Eq for LayoutMigrationResult
Source§impl PartialEq for LayoutMigrationResult
impl PartialEq for LayoutMigrationResult
impl StructuralPartialEq for LayoutMigrationResult
Auto Trait Implementations§
impl Freeze for LayoutMigrationResult
impl RefUnwindSafe for LayoutMigrationResult
impl Send for LayoutMigrationResult
impl Sync for LayoutMigrationResult
impl Unpin for LayoutMigrationResult
impl UnsafeUnpin for LayoutMigrationResult
impl UnwindSafe for LayoutMigrationResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.