pub enum MigrationCommand<'a> {
Apply {
migration_id: &'a str,
approval_digest: &'a str,
},
Recover {
migration_id: &'a str,
},
Rollback {
migration_id: &'a str,
},
}Variants§
Trait Implementations§
Source§impl<'a> Clone for MigrationCommand<'a>
impl<'a> Clone for MigrationCommand<'a>
impl<'a> Copy for MigrationCommand<'a>
Source§impl<'a> Debug for MigrationCommand<'a>
impl<'a> Debug for MigrationCommand<'a>
impl<'a> Eq for MigrationCommand<'a>
Source§impl<'a> PartialEq for MigrationCommand<'a>
impl<'a> PartialEq for MigrationCommand<'a>
impl<'a> StructuralPartialEq for MigrationCommand<'a>
Auto Trait Implementations§
impl<'a> Freeze for MigrationCommand<'a>
impl<'a> RefUnwindSafe for MigrationCommand<'a>
impl<'a> Send for MigrationCommand<'a>
impl<'a> Sync for MigrationCommand<'a>
impl<'a> Unpin for MigrationCommand<'a>
impl<'a> UnsafeUnpin for MigrationCommand<'a>
impl<'a> UnwindSafe for MigrationCommand<'a>
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.