pub struct DataDiffOptions {
pub max_pk_entries_global: usize,
pub max_pk_entries_per_table: usize,
pub sample_size: usize,
pub tables: Vec<String>,
pub exclude: Vec<String>,
pub allow_no_pk: bool,
pub pk_overrides: HashMap<String, Vec<String>>,
pub ignore_columns: Vec<String>,
}Expand description
Options for data comparison
Fields§
§max_pk_entries_global: usizeMaximum PK entries to track globally
max_pk_entries_per_table: usizeMaximum PK entries per table
sample_size: usizeNumber of sample rows to collect for verbose mode
tables: Vec<String>Tables to include (if empty, include all)
exclude: Vec<String>Tables to exclude
allow_no_pk: boolDon’t skip tables without PK, use all columns as key
pk_overrides: HashMap<String, Vec<String>>Primary key overrides: table name -> column names
ignore_columns: Vec<String>Column patterns to ignore (glob format: table.column)
Trait Implementations§
Source§impl Clone for DataDiffOptions
impl Clone for DataDiffOptions
Source§fn clone(&self) -> DataDiffOptions
fn clone(&self) -> DataDiffOptions
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 DataDiffOptions
impl Debug for DataDiffOptions
Auto Trait Implementations§
impl Freeze for DataDiffOptions
impl RefUnwindSafe for DataDiffOptions
impl Send for DataDiffOptions
impl Sync for DataDiffOptions
impl Unpin for DataDiffOptions
impl UnwindSafe for DataDiffOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more