pub struct MigrationReport {
pub collections: Vec<CollectionMigration>,
pub backup_dir: PathBuf,
pub total_documents: usize,
}Expand description
Summary of a completed, swapped migration.
Fields§
§collections: Vec<CollectionMigration>Per-collection outcomes, in collection-name order.
backup_dir: PathBufDirectory holding the retained pre-migration files (rollback point).
total_documents: usizeTotal documents migrated across all collections.
Trait Implementations§
Source§impl Clone for MigrationReport
impl Clone for MigrationReport
Auto Trait Implementations§
impl Forget for MigrationReport
impl Freeze for MigrationReportwhere
*const u8 is !null: Freeze,
PhantomData<CollectionMigration>: Freeze,
PhantomData<u8>: 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<CollectionMigration>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for MigrationReportwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request