pub struct FieldDiff {
pub field: String,
pub old_value: InspectorValue,
pub new_value: InspectorValue,
}Expand description
A compact summary of differences between two field snapshots.
Fields§
§field: String§old_value: InspectorValue§new_value: InspectorValueImplementations§
Source§impl FieldDiff
impl FieldDiff
pub fn compute(old: &[InspectorField], new: &[InspectorField]) -> Vec<FieldDiff>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FieldDiff
impl RefUnwindSafe for FieldDiff
impl Send for FieldDiff
impl Sync for FieldDiff
impl Unpin for FieldDiff
impl UnsafeUnpin for FieldDiff
impl UnwindSafe for FieldDiff
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