#[repr(u8)]pub enum MigrationDirection {
From,
To,
}Variants§
Trait Implementations§
source§impl Debug for MigrationDirection
impl Debug for MigrationDirection
source§impl<'de> Deserialize<'de> for MigrationDirection
impl<'de> Deserialize<'de> for MigrationDirection
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 PartialEq<MigrationDirection> for MigrationDirection
impl PartialEq<MigrationDirection> for MigrationDirection
source§fn eq(&self, other: &MigrationDirection) -> bool
fn eq(&self, other: &MigrationDirection) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MigrationDirection
impl Serialize for MigrationDirection
impl StructuralPartialEq for MigrationDirection
Auto Trait Implementations§
impl RefUnwindSafe for MigrationDirection
impl Send for MigrationDirection
impl Sync for MigrationDirection
impl Unpin for MigrationDirection
impl UnwindSafe for MigrationDirection
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