pub struct MigrationRecord {
pub version: i64,
pub name: String,
pub applied_at: DateTime<Utc>,
pub checksum: Option<String>,
pub execution_time_ms: Option<i64>,
}
Expand description
Record of an applied migration
Fields§
§version: i64
Version number of the migration
name: String
Name of the migration
applied_at: DateTime<Utc>
When the migration was applied
checksum: Option<String>
Checksum of the migration for verification
execution_time_ms: Option<i64>
Execution time in milliseconds
Trait Implementations§
Source§impl Clone for MigrationRecord
impl Clone for MigrationRecord
Source§fn clone(&self) -> MigrationRecord
fn clone(&self) -> MigrationRecord
Returns a duplicate 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 Freeze for MigrationRecord
impl RefUnwindSafe for MigrationRecord
impl Send for MigrationRecord
impl Sync for MigrationRecord
impl Unpin for MigrationRecord
impl UnwindSafe for MigrationRecord
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