pub struct FormatMigrationReport {
pub collection: &'static str,
pub from: u16,
pub to: u16,
pub shards: usize,
pub rows_migrated: u64,
pub rows_dropped: u64,
pub bytes_before: u64,
pub bytes_after: u64,
pub elapsed: Duration,
pub warnings: Vec<String>,
}Expand description
Summary returned by an explicit format migration run.
Fields§
§collection: &'static str§from: u16§to: u16§shards: usize§rows_migrated: u64§rows_dropped: u64§bytes_before: u64§bytes_after: u64§elapsed: Duration§warnings: Vec<String>Trait Implementations§
Source§impl Clone for FormatMigrationReport
impl Clone for FormatMigrationReport
Source§fn clone(&self) -> FormatMigrationReport
fn clone(&self) -> FormatMigrationReport
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 moreAuto Trait Implementations§
impl Freeze for FormatMigrationReport
impl RefUnwindSafe for FormatMigrationReport
impl Send for FormatMigrationReport
impl Sync for FormatMigrationReport
impl Unpin for FormatMigrationReport
impl UnsafeUnpin for FormatMigrationReport
impl UnwindSafe for FormatMigrationReport
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