pub struct SnapshotDiff {
pub left: MockSnapshot,
pub right: MockSnapshot,
pub differences: Vec<Difference>,
pub summary: DiffSummary,
}Expand description
Comparison between two snapshots
Fields§
§left: MockSnapshotLeft snapshot (baseline)
right: MockSnapshotRight snapshot (comparison)
differences: Vec<Difference>Differences found
summary: DiffSummarySummary statistics
Trait Implementations§
Source§impl Clone for SnapshotDiff
impl Clone for SnapshotDiff
Source§impl Debug for SnapshotDiff
impl Debug for SnapshotDiff
Source§impl<'de> Deserialize<'de> for SnapshotDiff
impl<'de> Deserialize<'de> for SnapshotDiff
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SnapshotDiff
impl RefUnwindSafe for SnapshotDiff
impl Send for SnapshotDiff
impl Sync for SnapshotDiff
impl Unpin for SnapshotDiff
impl UnsafeUnpin for SnapshotDiff
impl UnwindSafe for SnapshotDiff
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