pub struct TableDataDiff {
pub old_row_count: u64,
pub new_row_count: u64,
pub added_count: u64,
pub removed_count: u64,
pub modified_count: u64,
pub truncated: bool,
pub sample_added_pks: Vec<String>,
pub sample_removed_pks: Vec<String>,
pub sample_modified_pks: Vec<String>,
}Expand description
Data differences for a single table
Fields§
§old_row_count: u64Row count in old file
new_row_count: u64Row count in new file
added_count: u64Number of rows added (in new but not old)
removed_count: u64Number of rows removed (in old but not new)
modified_count: u64Number of rows modified (same PK, different content)
truncated: boolWhether tracking was truncated due to memory limits
sample_added_pks: Vec<String>Sample PKs for added rows (only when verbose)
sample_removed_pks: Vec<String>Sample PKs for removed rows (only when verbose)
sample_modified_pks: Vec<String>Sample PKs for modified rows (only when verbose)
Trait Implementations§
Source§impl Clone for TableDataDiff
impl Clone for TableDataDiff
Source§fn clone(&self) -> TableDataDiff
fn clone(&self) -> TableDataDiff
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 TableDataDiff
impl Debug for TableDataDiff
Source§impl Default for TableDataDiff
impl Default for TableDataDiff
Source§fn default() -> TableDataDiff
fn default() -> TableDataDiff
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TableDataDiff
impl RefUnwindSafe for TableDataDiff
impl Send for TableDataDiff
impl Sync for TableDataDiff
impl Unpin for TableDataDiff
impl UnwindSafe for TableDataDiff
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