pub struct DiffNode {
pub node: Node,
pub identity_key: String,
pub content_hash: String,
pub state_status: StateStatus,
}Expand description
One node of a comparison result.
Fields§
§node: NodeThe node (from current, or carried from previous for Removed).
identity_key: StringThe node’s identity, from the core.
content_hash: StringThe node’s content hash, from the core.
state_status: StateStatusHow this node relates to its prior state.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DiffNode
impl<'de> Deserialize<'de> for DiffNode
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 DiffNode
impl StructuralPartialEq for DiffNode
Auto Trait Implementations§
impl Freeze for DiffNode
impl RefUnwindSafe for DiffNode
impl Send for DiffNode
impl Sync for DiffNode
impl Unpin for DiffNode
impl UnsafeUnpin for DiffNode
impl UnwindSafe for DiffNode
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