Struct db_up::MigrationState
source · pub struct MigrationState {
pub version: u32,
pub status: MigrationStatus,
}
Expand description
The minimal information for a migration version
Fields§
§version: u32
The version of the migration
status: MigrationStatus
The status of the migration
Trait Implementations§
source§impl Clone for MigrationState
impl Clone for MigrationState
source§fn clone(&self) -> MigrationState
fn clone(&self) -> MigrationState
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 more