pub enum MigrationStatus {
InProgress,
Deployed,
}
Expand description
Status of a migration.
Variants§
InProgress
Migration is in progress.
The migration of this version has been started, but not finished yet. Depending on the database driver and transaction management, this status may never actually land in the database.
Deployed
Migration has been finished.
Trait Implementations§
Source§impl Clone for MigrationStatus
impl Clone for MigrationStatus
Source§fn clone(&self) -> MigrationStatus
fn clone(&self) -> MigrationStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for MigrationStatus
impl RefUnwindSafe for MigrationStatus
impl Send for MigrationStatus
impl Sync for MigrationStatus
impl Unpin for MigrationStatus
impl UnwindSafe for MigrationStatus
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