pub enum MigrationState {
None,
InProgress,
Failed,
Warning,
Completed,
Skipped,
Stopped,
UnknownValue(String),
}
Expand description
Current state of migration
Variants§
Implementations§
source§impl MigrationState
impl MigrationState
pub fn serialize<__S>( __self: &MigrationState, __serializer: __S ) -> Result<__S::Ok, __S::Error>where __S: Serializer,
source§impl<'de> MigrationState
impl<'de> MigrationState
pub fn deserialize<__D>( __deserializer: __D ) -> Result<MigrationState, __D::Error>where __D: Deserializer<'de>,
Trait Implementations§
source§impl Clone for MigrationState
impl Clone for MigrationState
source§fn clone(&self) -> MigrationState
fn clone(&self) -> MigrationState
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 MigrationState
impl Debug for MigrationState
source§impl<'de> Deserialize<'de> for MigrationState
impl<'de> Deserialize<'de> for MigrationState
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 MigrationState
impl FromStr for MigrationState
source§impl PartialEq<MigrationState> for MigrationState
impl PartialEq<MigrationState> for MigrationState
source§fn eq(&self, other: &MigrationState) -> bool
fn eq(&self, other: &MigrationState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MigrationState
impl Serialize for MigrationState
impl StructuralPartialEq for MigrationState
Auto Trait Implementations§
impl RefUnwindSafe for MigrationState
impl Send for MigrationState
impl Sync for MigrationState
impl Unpin for MigrationState
impl UnwindSafe for MigrationState
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