pub struct MigrationResult {
pub snapshot: WorkspaceSnapshot,
pub from_version: u16,
pub to_version: u16,
pub warnings: Vec<String>,
}Expand description
Result of attempting to migrate a workspace from an older schema version.
Fields§
§snapshot: WorkspaceSnapshotThe migrated snapshot.
from_version: u16Source version before migration.
to_version: u16Target version after migration.
warnings: Vec<String>Warnings or notes from the migration.
Implementations§
Trait Implementations§
Source§impl Clone for MigrationResult
impl Clone for MigrationResult
Auto Trait Implementations§
impl Forget for MigrationResult
impl Freeze for MigrationResult
impl Move for MigrationResult
impl RefUnwindSafe for MigrationResult
impl Send for MigrationResult
impl Sync for MigrationResult
impl Unpin for MigrationResult
impl UnsafeUnpin for MigrationResult
impl UnwindSafe for MigrationResult
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