Struct sqlx_migrate::MigrationSummary
source · pub struct MigrationSummary {
pub old_version: Option<u64>,
pub new_version: Option<u64>,
}
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§
source§impl Clone for MigrationSummary
impl Clone for MigrationSummary
source§fn clone(&self) -> MigrationSummary
fn clone(&self) -> MigrationSummary
Returns a copy of the value. Read more
1.0.0 · source§fn 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§
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