pub struct ModelDiff {
pub path: String,
pub before: DiffSide,
pub after: DiffSide,
}Expand description
One typed-model field that changed across a conversion.
Fields§
§path: StringSerde path, e.g. .loads[3].p. Element names never appear here: the
typed model holds elements in arrays, so a path carries indices only.
before: DiffSide§after: DiffSideTrait Implementations§
impl StructuralPartialEq for ModelDiff
Auto Trait Implementations§
impl Freeze for ModelDiff
impl RefUnwindSafe for ModelDiff
impl Send for ModelDiff
impl Sync for ModelDiff
impl Unpin for ModelDiff
impl UnsafeUnpin for ModelDiff
impl UnwindSafe for ModelDiff
Blanket Implementations§
impl<T> Allocation for T
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