Struct json_schema_diff::Change
source · pub struct Change {
pub path: String,
pub change: ChangeKind,
}
Expand description
An “atomic” change made to the JSON schema in question, going from LHS to RHS.
Just a wrapper container for ChangeKind
Fields§
§path: String
JSON path for the given change. ""
for “root schema”. ".foo"
for property foo.
change: ChangeKind
Data specific to the kind of change.
Trait Implementations§
source§impl PartialEq<Change> for Change
impl PartialEq<Change> for Change
impl StructuralPartialEq for Change
Auto Trait Implementations§
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin 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