Struct sqlx_migrate::MigrationStatus [−][src]
pub struct MigrationStatus {
pub version: u64,
pub name: String,
pub reversible: bool,
pub checksum: Vec<u8>,
pub applied: Option<AppliedMigration<'static>>,
pub missing_local: bool,
}
Expand description
Status of a migration.
Fields
version: u64
Migration version determined by migration order.
name: String
The name of the migration.
reversible: bool
Whether the migration has a reverse function.
checksum: Vec<u8>
Migration checksum, if any.
applied: Option<AppliedMigration<'static>>
Information about the migration in the database.
missing_local: bool
Whether the migration is found in the database, but missing locally.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MigrationStatus
impl Send for MigrationStatus
impl Sync for MigrationStatus
impl Unpin for MigrationStatus
impl UnwindSafe for MigrationStatus
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more