pub enum Change {
Added {
index: usize,
kind: String,
key: String,
},
Removed {
index: usize,
kind: String,
key: String,
},
Changed {
index: usize,
kind: String,
key: String,
baseline: Value,
new: Value,
},
}Expand description
A single change.
Variants§
Added
A step present in the new trace but missing in the baseline.
Removed
A step present in the baseline but missing in the new trace.
Changed
A step present in both but with a different payload.
Trait Implementations§
impl StructuralPartialEq for Change
Auto Trait Implementations§
impl Freeze for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnsafeUnpin for Change
impl UnwindSafe for Change
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