pub struct SemanticChange {
pub path: Vec<PathComponent>,
pub kind: ChangeKind,
pub old_value: Option<Value>,
pub new_value: Option<Value>,
}Expand description
Semantic change at a specific path (deterministically ordered)
Fields§
§path: Vec<PathComponent>Path to changed value: Vec
kind: ChangeKindKind of change
old_value: Option<Value>Old value (None if Added)
new_value: Option<Value>New value (None if Removed)
Trait Implementations§
Source§impl Clone for SemanticChange
impl Clone for SemanticChange
Source§impl Debug for SemanticChange
impl Debug for SemanticChange
Source§impl<'de> Deserialize<'de> for SemanticChange
impl<'de> Deserialize<'de> for SemanticChange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SemanticChange
Source§impl PartialEq for SemanticChange
impl PartialEq for SemanticChange
Source§impl Serialize for SemanticChange
impl Serialize for SemanticChange
impl StructuralPartialEq for SemanticChange
Auto Trait Implementations§
impl Freeze for SemanticChange
impl RefUnwindSafe for SemanticChange
impl Send for SemanticChange
impl Sync for SemanticChange
impl Unpin for SemanticChange
impl UnsafeUnpin for SemanticChange
impl UnwindSafe for SemanticChange
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