Skip to main content

SemanticReport

Struct SemanticReport 

Source
pub struct SemanticReport {
Show 15 fields pub orphaned_chunks: usize, pub null_source_ref_nodes: usize, pub broken_step_fk: usize, pub broken_action_fk: usize, pub stale_fts_rows: usize, pub fts_rows_for_superseded_nodes: usize, pub dangling_edges: usize, pub orphaned_supersession_chains: usize, pub stale_vec_rows: usize, pub vec_rows_for_superseded_nodes: usize, pub missing_operational_current_rows: usize, pub stale_operational_current_rows: usize, pub disabled_collection_mutations: usize, pub orphaned_last_access_metadata_rows: usize, pub warnings: Vec<String>,
}
Expand description

Results of a semantic consistency check on the graph data.

Fields§

§orphaned_chunks: usize

Chunks whose node_logical_id has no active node.

§null_source_ref_nodes: usize

Active nodes with a NULL source_ref (loss of provenance).

§broken_step_fk: usize

Steps referencing a run_id that does not exist in the runs table.

§broken_action_fk: usize

Actions referencing a step_id that does not exist in the steps table.

§stale_fts_rows: usize

FTS rows whose chunk_id does not exist in the chunks table.

§fts_rows_for_superseded_nodes: usize

FTS rows whose node has been superseded (superseded_at IS NOT NULL on all active rows).

§dangling_edges: usize

Active edges where at least one endpoint has no active node.

§orphaned_supersession_chains: usize

logical_ids where every version has been superseded (no active row).

§stale_vec_rows: usize

Vec rows whose backing chunk no longer exists in the chunks table.

§vec_rows_for_superseded_nodes: usize

Compatibility counter for vec rows whose chunk points at missing node history.

§missing_operational_current_rows: usize

Latest-state keys whose latest mutation is a put but no current row exists.

§stale_operational_current_rows: usize

Current rows that do not match the latest mutation state.

§disabled_collection_mutations: usize

Mutations written after the owning collection was disabled.

§orphaned_last_access_metadata_rows: usize

Access metadata rows whose logical_id no longer has any node history.

§warnings: Vec<String>

Trait Implementations§

Source§

impl Clone for SemanticReport

Source§

fn clone(&self) -> SemanticReport

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SemanticReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for SemanticReport

Source§

fn eq(&self, other: &SemanticReport) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for SemanticReport

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for SemanticReport

Source§

impl StructuralPartialEq for SemanticReport

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V