pub struct MigrationReport {
pub migrated: Vec<MigrationEntry>,
pub skipped: Vec<MigrationSkip>,
pub failures: Vec<MigrationFailure>,
pub marker_written: bool,
pub already_completed: bool,
}Expand description
Outcome of a legacy migration attempt.
Fields§
§migrated: Vec<MigrationEntry>§skipped: Vec<MigrationSkip>§failures: Vec<MigrationFailure>§marker_written: bool§already_completed: boolImplementations§
Source§impl MigrationReport
impl MigrationReport
Sourcepub fn has_retryable_failures(&self) -> bool
pub fn has_retryable_failures(&self) -> bool
Returns whether a later startup should retry the migration.
Trait Implementations§
Source§impl Clone for MigrationReport
impl Clone for MigrationReport
Source§impl Debug for MigrationReport
impl Debug for MigrationReport
Source§impl Default for MigrationReport
impl Default for MigrationReport
impl Eq for MigrationReport
Source§impl PartialEq for MigrationReport
impl PartialEq for MigrationReport
Source§impl Serialize for MigrationReport
impl Serialize for MigrationReport
impl StructuralPartialEq for MigrationReport
Auto Trait Implementations§
impl Forget for MigrationReport
impl Freeze for MigrationReportwhere
*const u8 is !null: Freeze,
PhantomData<MigrationEntry>: Freeze,
PhantomData<MigrationSkip>: Freeze,
PhantomData<MigrationFailure>: Freeze,
impl Move for MigrationReport
impl RefUnwindSafe for MigrationReport
impl Send for MigrationReportwhere
RawVecInner: Send,
impl Sync for MigrationReportwhere
RawVecInner: Sync,
impl Unpin for MigrationReport
impl UnsafeUnpin for MigrationReportwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<MigrationEntry>: UnsafeUnpin,
PhantomData<MigrationSkip>: UnsafeUnpin,
PhantomData<MigrationFailure>: UnsafeUnpin,
impl UnwindSafe for MigrationReportwhere
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.