Struct sqlx_migrate::MigrationSummary
source · [−]Expand description
Summary of a migration or revert operation.
Fields
old_version: Option<u64>
The old migration version in the database.
new_version: Option<u64>
The new migration version in the database.
Trait Implementations
sourceimpl Clone for MigrationSummary
impl Clone for MigrationSummary
sourcefn clone(&self) -> MigrationSummary
fn clone(&self) -> MigrationSummary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for MigrationSummary
impl Send for MigrationSummary
impl Sync for MigrationSummary
impl Unpin for MigrationSummary
impl UnwindSafe for MigrationSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more