pub struct MigrationResult {
pub from_version: u32,
pub to_version: u32,
pub migrations_run: u32,
}Expand description
Result of running migrations.
Fields§
§from_version: u32The version before migrations ran.
to_version: u32The version after migrations completed.
migrations_run: u32The number of migrations that were executed.
Trait Implementations§
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