pub struct PropertyGraphMetaV1 {
pub schema_version: u32,
pub engine_version: u32,
pub built_with: String,
pub project_root: String,
pub built_at: String,
pub git_head: Option<String>,
pub git_dirty: Option<bool>,
pub nodes: Option<usize>,
pub edges: Option<usize>,
pub files_indexed: Option<usize>,
pub build_time_ms: Option<u64>,
}Fields§
§schema_version: u32§engine_version: u32Property-graph engine generation that produced this graph (see
super::GRAPH_ENGINE_VERSION). Bumped whenever edge extraction
changes, so a graph built by an older engine — e.g. before the C#/Java
type_ref edges existed (GH #398) — is rebuilt instead of silently
served without the new edges. Graphs written before this field existed
deserialize to 0.
built_with: Stringlean-ctx version (CARGO_PKG_VERSION) that built this graph, recorded
for diagnostics. Empty for graphs written before the stamp existed.
project_root: StringAbsolute, normalized project root this graph was built for. Recorded so
the one-way graphs/<hash>/ directory can be pruned when its project no
longer exists on disk (#696 C4 — replaces the project_root the retired
JSON index used to carry). Empty for graphs written before this field.
built_at: StringRFC3339 timestamp (UTC) of the last successful build.
git_head: Option<String>Git HEAD (short) at build time, if available.
git_dirty: Option<bool>Git dirty flag at build time, if available.
nodes: Option<usize>Node count after build.
edges: Option<usize>Edge count after build.
files_indexed: Option<usize>Number of source files processed during build (before filtering).
build_time_ms: Option<u64>Build duration in milliseconds (best-effort).
Trait Implementations§
Source§impl Clone for PropertyGraphMetaV1
impl Clone for PropertyGraphMetaV1
Source§fn clone(&self) -> PropertyGraphMetaV1
fn clone(&self) -> PropertyGraphMetaV1
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PropertyGraphMetaV1
impl Debug for PropertyGraphMetaV1
Source§impl Default for PropertyGraphMetaV1
impl Default for PropertyGraphMetaV1
Source§impl<'de> Deserialize<'de> for PropertyGraphMetaV1where
PropertyGraphMetaV1: Default,
impl<'de> Deserialize<'de> for PropertyGraphMetaV1where
PropertyGraphMetaV1: Default,
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>,
Auto Trait Implementations§
impl Freeze for PropertyGraphMetaV1
impl RefUnwindSafe for PropertyGraphMetaV1
impl Send for PropertyGraphMetaV1
impl Sync for PropertyGraphMetaV1
impl Unpin for PropertyGraphMetaV1
impl UnsafeUnpin for PropertyGraphMetaV1
impl UnwindSafe for PropertyGraphMetaV1
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more