pub enum Migrated {
Nothing,
UpTo(NaiveDateTime),
NoForwardMigrationsFound,
}Expand description
Result of a migration action.
Variants§
Nothing
No migrations have been applied. The database is fully migrated already.
UpTo(NaiveDateTime)
Migrated the database to the specified migration key (version).
NoForwardMigrationsFound
No forward migrations found in the migrations folder.
Trait Implementations§
impl Copy for Migrated
impl Eq for Migrated
impl StructuralPartialEq for Migrated
Auto Trait Implementations§
impl Freeze for Migrated
impl RefUnwindSafe for Migrated
impl Send for Migrated
impl Sync for Migrated
impl Unpin for Migrated
impl UnwindSafe for Migrated
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.