pub enum DatabaseMigrationState {
Undefined,
Initial,
FullBackupUploadStart,
LogShippingStart,
UploadLogFilesStart,
CutoverStart,
PostCutoverComplete,
Completed,
Cancelled,
Failed,
UnknownValue(String),
}
Expand description
Database level migration state.
Variants§
Undefined
Initial
FullBackupUploadStart
LogShippingStart
UploadLogFilesStart
CutoverStart
PostCutoverComplete
Completed
Cancelled
Failed
UnknownValue(String)
Implementations§
source§impl DatabaseMigrationState
impl DatabaseMigrationState
pub fn serialize<__S>( __self: &DatabaseMigrationState, __serializer: __S ) -> Result<__S::Ok, __S::Error>where __S: Serializer,
source§impl<'de> DatabaseMigrationState
impl<'de> DatabaseMigrationState
pub fn deserialize<__D>( __deserializer: __D ) -> Result<DatabaseMigrationState, __D::Error>where __D: Deserializer<'de>,
Trait Implementations§
source§impl Clone for DatabaseMigrationState
impl Clone for DatabaseMigrationState
source§fn clone(&self) -> DatabaseMigrationState
fn clone(&self) -> DatabaseMigrationState
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 moresource§impl Debug for DatabaseMigrationState
impl Debug for DatabaseMigrationState
source§impl<'de> Deserialize<'de> for DatabaseMigrationState
impl<'de> Deserialize<'de> for DatabaseMigrationState
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for DatabaseMigrationState
impl FromStr for DatabaseMigrationState
source§impl PartialEq<DatabaseMigrationState> for DatabaseMigrationState
impl PartialEq<DatabaseMigrationState> for DatabaseMigrationState
source§fn eq(&self, other: &DatabaseMigrationState) -> bool
fn eq(&self, other: &DatabaseMigrationState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DatabaseMigrationState
impl Serialize for DatabaseMigrationState
impl StructuralPartialEq for DatabaseMigrationState
Auto Trait Implementations§
impl RefUnwindSafe for DatabaseMigrationState
impl Send for DatabaseMigrationState
impl Sync for DatabaseMigrationState
impl Unpin for DatabaseMigrationState
impl UnwindSafe for DatabaseMigrationState
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