pub struct DiffOptions {
pub whitespace: bool,
pub case: bool,
pub timestamps: bool,
pub mask: Option<Regex>,
}Expand description
What does not count as a difference.
Fields§
§whitespace: boolSpaces, tabs and carriage returns.
case: boolUpper and lower case (ASCII).
timestamps: boolThe timestamp at the start of a line.
mask: Option<Regex>Text matching this pattern (req=[0-9a-f]+).
Trait Implementations§
Source§impl Clone for DiffOptions
impl Clone for DiffOptions
Source§impl Debug for DiffOptions
impl Debug for DiffOptions
Auto Trait Implementations§
impl Forget for DiffOptions
impl Freeze for DiffOptionswhere
*const ArcInner<RegexI> is !null: Freeze,
PhantomData<ArcInner<RegexI>>: Freeze,
*const Pool<Cache, Box<dyn Fn() -> Cache + Send + UnwindSafe + Sync + RefUnwindSafe>> is !null: Freeze,
PhantomData<Pool<Cache, Box<dyn Fn() -> Cache + Send + UnwindSafe + Sync + RefUnwindSafe>>>: Freeze,
impl Move for DiffOptions
impl RefUnwindSafe for DiffOptionswhere
Atomic<usize>: RefUnwindSafe,
Pool<Cache, Box<dyn Fn() -> Cache + Send + UnwindSafe + Sync + RefUnwindSafe>>: RefUnwindSafe,
impl Send for DiffOptions
impl Sync for DiffOptions
impl Unpin for DiffOptions
impl UnsafeUnpin for DiffOptionswhere
*const ArcInner<RegexI> is !null: UnsafeUnpin,
PhantomData<ArcInner<RegexI>>: UnsafeUnpin,
*const Pool<Cache, Box<dyn Fn() -> Cache + Send + UnwindSafe + Sync + RefUnwindSafe>> is !null: UnsafeUnpin,
PhantomData<Pool<Cache, Box<dyn Fn() -> Cache + Send + UnwindSafe + Sync + RefUnwindSafe>>>: UnsafeUnpin,
impl UnwindSafe for DiffOptionswhere
Arc<RegexI>: UnwindSafe,
BoxRaw<Pool<Cache, Box<dyn Fn() -> Cache + Send + UnwindSafe + Sync + RefUnwindSafe>>>: UnwindSafe,
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