pub struct GraphSnapshotDiff {
pub nodes_added: Vec<String>,
pub nodes_added_slices: Vec<NodeSlice>,
pub nodes_removed: Vec<String>,
pub value_changes: Vec<ValueChange>,
pub subgraphs_added: Vec<String>,
pub subgraphs_removed: Vec<String>,
}Expand description
Structural diff between two GraphPersistSnapshots.
Fields§
§nodes_added: Vec<String>Node names present in after but not before.
nodes_added_slices: Vec<NodeSlice>Full slices for added nodes (parallel to nodes_added).
nodes_removed: Vec<String>Node names present in before but not after.
value_changes: Vec<ValueChange>Nodes whose value field changed between snapshots.
subgraphs_added: Vec<String>Subgraph mount names added.
subgraphs_removed: Vec<String>Subgraph mount names removed.
Implementations§
Trait Implementations§
Source§impl Clone for GraphSnapshotDiff
impl Clone for GraphSnapshotDiff
Source§fn clone(&self) -> GraphSnapshotDiff
fn clone(&self) -> GraphSnapshotDiff
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GraphSnapshotDiff
impl RefUnwindSafe for GraphSnapshotDiff
impl Send for GraphSnapshotDiff
impl Sync for GraphSnapshotDiff
impl Unpin for GraphSnapshotDiff
impl UnsafeUnpin for GraphSnapshotDiff
impl UnwindSafe for GraphSnapshotDiff
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