pub struct MigrationReport {
pub source_records: u64,
pub previously_imported: u64,
pub newly_imported: u64,
pub destination_head: u64,
}Expand description
Outcome of a v1-to-v2 import, returned by migrate_v1.
Fields§
§source_records: u64Records read from the v1 source.
previously_imported: u64Records already present in the destination from a prior run.
newly_imported: u64Records imported by this run.
destination_head: u64The destination’s head after the import.
Trait Implementations§
Source§impl Clone for MigrationReport
impl Clone for MigrationReport
Source§fn clone(&self) -> MigrationReport
fn clone(&self) -> MigrationReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MigrationReport
impl Debug for MigrationReport
impl Eq for MigrationReport
Source§impl PartialEq for MigrationReport
impl PartialEq for MigrationReport
impl StructuralPartialEq for MigrationReport
Auto Trait Implementations§
impl Freeze for MigrationReport
impl RefUnwindSafe for MigrationReport
impl Send for MigrationReport
impl Sync for MigrationReport
impl Unpin for MigrationReport
impl UnsafeUnpin for MigrationReport
impl UnwindSafe for MigrationReport
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