pub struct DiffConfig {
pub ignore_keys_regex: Option<Regex>,
pub epsilon: Option<f64>,
pub array_id_key: Option<String>,
pub use_memory_optimization: bool,
pub batch_size: usize,
pub ignore_whitespace: bool,
pub ignore_case: bool,
}
Expand description
Configuration for diff operations - essential options only
Fields§
§ignore_keys_regex: Option<Regex>
§epsilon: Option<f64>
§array_id_key: Option<String>
§use_memory_optimization: bool
§batch_size: usize
§ignore_whitespace: bool
§ignore_case: bool
Trait Implementations§
Source§impl Clone for DiffConfig
impl Clone for DiffConfig
Source§fn clone(&self) -> DiffConfig
fn clone(&self) -> DiffConfig
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 DiffConfig
impl Debug for DiffConfig
Auto Trait Implementations§
impl Freeze for DiffConfig
impl RefUnwindSafe for DiffConfig
impl Send for DiffConfig
impl Sync for DiffConfig
impl Unpin for DiffConfig
impl UnwindSafe for DiffConfig
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