pub enum MigrationDirection {
UpgradeOnly,
DowngradeOnly,
}
Variants§
Trait Implementations§
source§impl Clone for MigrationDirection
impl Clone for MigrationDirection
source§fn clone(&self) -> MigrationDirection
fn clone(&self) -> MigrationDirection
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 MigrationDirection
impl Debug for MigrationDirection
source§impl Hash for MigrationDirection
impl Hash for MigrationDirection
source§impl Ord for MigrationDirection
impl Ord for MigrationDirection
source§fn cmp(&self, other: &MigrationDirection) -> Ordering
fn cmp(&self, other: &MigrationDirection) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. 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 PartialOrd<MigrationDirection> for MigrationDirection
impl PartialOrd<MigrationDirection> for MigrationDirection
source§fn partial_cmp(&self, other: &MigrationDirection) -> Option<Ordering>
fn partial_cmp(&self, other: &MigrationDirection) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for MigrationDirection
impl Eq for MigrationDirection
impl StructuralEq 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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.