pub struct MigrationPlan {
pub pending: Vec<String>,
pub applied: Vec<MigrationStatus>,
}Expand description
A read-only description of changes the next command would make.
Fields§
§pending: Vec<String>§applied: Vec<MigrationStatus>Trait Implementations§
Source§impl Clone for MigrationPlan
impl Clone for MigrationPlan
Source§impl Debug for MigrationPlan
impl Debug for MigrationPlan
Source§impl Default for MigrationPlan
impl Default for MigrationPlan
impl Eq for MigrationPlan
Source§impl PartialEq for MigrationPlan
impl PartialEq for MigrationPlan
impl StructuralPartialEq for MigrationPlan
Auto Trait Implementations§
impl Forget for MigrationPlan
impl Freeze for MigrationPlanwhere
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
PhantomData<MigrationStatus>: Freeze,
impl Move for MigrationPlan
impl RefUnwindSafe for MigrationPlan
impl Send for MigrationPlanwhere
RawVecInner: Send,
impl Sync for MigrationPlanwhere
RawVecInner: Sync,
impl Unpin for MigrationPlan
impl UnsafeUnpin for MigrationPlanwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<MigrationStatus>: UnsafeUnpin,
impl UnwindSafe for MigrationPlanwhere
RawVecInner: UnwindSafe,
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.