pub struct MigrationStatus {
pub current_version: u32,
pub applied_count: usize,
}Expand description
Snapshot of the current migration-ledger state.
Fields§
§current_version: u32The highest version number that has been applied, or 0 if none.
applied_count: usizeThe number of migration versions that have been applied.
Auto Trait Implementations§
impl Freeze for MigrationStatus
impl RefUnwindSafe for MigrationStatus
impl Send for MigrationStatus
impl Sync for MigrationStatus
impl Unpin for MigrationStatus
impl UnsafeUnpin for MigrationStatus
impl UnwindSafe for MigrationStatus
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