pub struct Diff {
pub diff_type: DiffType,
pub path: String,
pub old_value: Option<String>,
pub new_value: Option<String>,
pub description: String,
}Expand description
A difference between two nodes
Fields§
§diff_type: DiffType§path: String§old_value: Option<String>§new_value: Option<String>§description: StringImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Diff
impl RefUnwindSafe for Diff
impl Send for Diff
impl Sync for Diff
impl Unpin for Diff
impl UnsafeUnpin for Diff
impl UnwindSafe for Diff
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