pub struct CompareConfig {
pub ignore_json_paths: HashSet<String>,
pub ignore_json_path_patterns: Vec<String>,
pub redact_json_paths: HashSet<String>,
pub redact_json_path_patterns: Vec<String>,
pub ignore_headers: HashSet<String>,
pub ignore_stderr: bool,
}Fields§
§ignore_json_paths: HashSet<String>§ignore_json_path_patterns: Vec<String>§redact_json_paths: HashSet<String>§redact_json_path_patterns: Vec<String>§ignore_headers: HashSet<String>§ignore_stderr: boolImplementations§
Source§impl CompareConfig
impl CompareConfig
pub fn new( ignore_json_paths: &[String], ignore_headers: &[String], ignore_stderr: bool, ) -> Self
pub fn new_with_redactions( ignore_json_paths: &[String], redact_json_paths: &[String], ignore_headers: &[String], ignore_stderr: bool, ) -> Self
pub fn new_with_patterns( ignore_json_paths: &[String], ignore_json_path_patterns: &[String], redact_json_paths: &[String], redact_json_path_patterns: &[String], ignore_headers: &[String], ignore_stderr: bool, ) -> Self
Trait Implementations§
Source§impl Clone for CompareConfig
impl Clone for CompareConfig
Source§fn clone(&self) -> CompareConfig
fn clone(&self) -> CompareConfig
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 CompareConfig
impl RefUnwindSafe for CompareConfig
impl Send for CompareConfig
impl Sync for CompareConfig
impl Unpin for CompareConfig
impl UnsafeUnpin for CompareConfig
impl UnwindSafe for CompareConfig
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