pub struct MigrationInfo {
pub version: u64,
pub name: String,
pub status: MigrationStatus,
pub applied_at: Option<String>,
pub checksum: Option<String>,
}Expand description
Metadata describing a single migration version.
Fields§
§version: u64The numeric version identifier (e.g. timestamp or sequential number).
name: StringA human-readable name for the migration.
status: MigrationStatusThe current status of this migration.
applied_at: Option<String>ISO-8601 timestamp at which the migration was applied, if known.
checksum: Option<String>Checksum of the migration SQL, if computed.
Trait Implementations§
Source§impl Clone for MigrationInfo
impl Clone for MigrationInfo
Source§fn clone(&self) -> MigrationInfo
fn clone(&self) -> MigrationInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MigrationInfo
impl RefUnwindSafe for MigrationInfo
impl Send for MigrationInfo
impl Sync for MigrationInfo
impl Unpin for MigrationInfo
impl UnsafeUnpin for MigrationInfo
impl UnwindSafe for MigrationInfo
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