pub struct SnapshotDiff {
pub still_valid: Vec<String>,
pub invalidated: Vec<String>,
pub modified_entities: Vec<String>,
pub changed_relationships: Vec<String>,
pub changed_contracts: Vec<String>,
pub changed_state: Vec<String>,
pub changed_flows: Vec<String>,
pub artifact_changed: bool,
pub snapshot_revision: i64,
pub current_revision: i64,
}Expand description
Snapshot vs current-model comparison (§XXIII).
Fields§
§still_valid: Vec<String>Snapshot facts present AND unmodified in the current graph.
invalidated: Vec<String>Snapshot facts gone from the current graph.
modified_entities: Vec<String>Snapshot facts present but content-changed (attributes, confidence, provenance). “Still exists” is NOT “still valid”.
changed_relationships: Vec<String>Visible-touching relationships added/removed/changed (ids).
changed_contracts: Vec<String>Contract-like entities added/removed/modified (ids).
changed_state: Vec<String>State entities added/removed/modified (ids).
changed_flows: Vec<String>Flow graph names added/removed.
artifact_changed: boolThe rendered artifact text itself would differ on re-render.
snapshot_revision: i64Revision the snapshot was taken at.
current_revision: i64Current head revision (0 when history was never recorded).
Trait Implementations§
Source§impl Clone for SnapshotDiff
impl Clone for SnapshotDiff
Source§impl Debug for SnapshotDiff
impl Debug for SnapshotDiff
Source§impl<'de> Deserialize<'de> for SnapshotDiff
impl<'de> Deserialize<'de> for SnapshotDiff
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
Auto Trait Implementations§
impl Freeze for SnapshotDiff
impl RefUnwindSafe for SnapshotDiff
impl Send for SnapshotDiff
impl Sync for SnapshotDiff
impl Unpin for SnapshotDiff
impl UnsafeUnpin for SnapshotDiff
impl UnwindSafe for SnapshotDiff
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