pub struct MigrationReport {
pub dry_run: bool,
pub flat_files_seen: usize,
pub flat_files_removed: usize,
pub partitions_written: usize,
pub events_migrated: usize,
}Expand description
Outcome of a migrate_flat_layout run.
Fields§
§dry_run: boolWhether the run was a rehearsal (no disk changes).
flat_files_seen: usizeNumber of legacy flat-layout files discovered.
flat_files_removed: usizeNumber of legacy flat files deleted (always 0 when dry_run).
partitions_written: usizeNumber of new partition files written under the tenant tree.
events_migrated: usizeTotal events copied into the new tree (counted in dry-run too).
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 · 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
Source§impl Default for MigrationReport
impl Default for MigrationReport
Source§fn default() -> MigrationReport
fn default() -> MigrationReport
Returns the “default value” for a type. Read more
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