pub struct MigrationOutcome {
pub from: i64,
pub to: i64,
pub applied: Vec<i64>,
pub backup_path: Option<PathBuf>,
}Fields§
§from: i64§to: i64§applied: Vec<i64>§backup_path: Option<PathBuf>Path of the pre-migration sidecar backup, when one was created.
None for in-memory DBs, no-op opens, and the current > target error path.
Trait Implementations§
Source§impl Clone for MigrationOutcome
impl Clone for MigrationOutcome
Source§fn clone(&self) -> MigrationOutcome
fn clone(&self) -> MigrationOutcome
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 MigrationOutcome
impl Debug for MigrationOutcome
impl Eq for MigrationOutcome
Source§impl PartialEq for MigrationOutcome
impl PartialEq for MigrationOutcome
Source§fn eq(&self, other: &MigrationOutcome) -> bool
fn eq(&self, other: &MigrationOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MigrationOutcome
Auto Trait Implementations§
impl Freeze for MigrationOutcome
impl RefUnwindSafe for MigrationOutcome
impl Send for MigrationOutcome
impl Sync for MigrationOutcome
impl Unpin for MigrationOutcome
impl UnsafeUnpin for MigrationOutcome
impl UnwindSafe for MigrationOutcome
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