pub struct Change {
pub path: String,
pub category: Category,
pub verdict: Verdict,
pub before: Option<String>,
pub after: Option<String>,
}Expand description
One difference between two snapshots, with an honest path into the IR and the rendered before/after values where they apply.
Fields§
§path: StringA slash-separated path, e.g. veh.cluster/VehicleStatus/doorOpened.
category: Category§verdict: Verdict§before: Option<String>The rendered old value, absent when the change is an addition.
after: Option<String>The rendered new value, absent when the change is a removal.
Trait Implementations§
impl Eq for Change
impl StructuralPartialEq for Change
Auto Trait Implementations§
impl Freeze for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnsafeUnpin 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