Struct Diagnostic Snapshot
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
pub struct DiagnosticSnapshot {
pub schema_version: u32,
pub catalogue_version: u32,
pub source: SourceIdentity,
pub captured_at: DateTime<Utc>,
pub sequence: DiagnosticNumber,
pub lifetime: DiagnosticLifetimeSummary,
pub components: Vec<ComponentSnapshot>,
pub events: Vec<DiagnosticEvent>,
pub coverage: DiagnosticCoverage,
pub continuation: Option<DiagnosticCursor>,
}
Read evidence from one source incarnation, using the canonical snapshot schema.
Fields
schema_version: u32
Supported envelope version, independent of the catalogue version.
catalogue_version: u32
Stable catalogue revision; unknown names stay opaque in this envelope.
source: SourceIdentity
Source identity preserved through collection and projection.
captured_at: DateTime<Utc>
Source capture time; it is not a collector receipt timestamp.
sequence: DiagnosticNumber
Latest source update revision; reads do not increment it.
lifetime: DiagnosticLifetimeSummary
Whole-context lifetime accounting, independent of component/event selectors. Hosts must authorize access to this context-wide view before exposing it.
components: Vec<ComponentSnapshot>
Bounded rows, one per selected retained component instance.
events: Vec<DiagnosticEvent>
Bounded selected recent evidence.
coverage: DiagnosticCoverage
Availability, scope, integration, and loss limitations.
continuation: Option<DiagnosticCursor>
Next bounded page, subject to mutation and retention validation.
Trait Implementations
impl Clone for DiagnosticSnapshot
impl Clone for DiagnosticSnapshot
clone
fn clone(&self) -> DiagnosticSnapshot
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for DiagnosticSnapshot
impl Debug for DiagnosticSnapshot
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl<'de> Deserialize<'de> for DiagnosticSnapshot
impl<'de> Deserialize<'de> for DiagnosticSnapshot
deserialize
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DiagnosticSnapshot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl PartialEq for DiagnosticSnapshot
impl PartialEq for DiagnosticSnapshot
eq
fn eq(&self, other: &DiagnosticSnapshot) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for DiagnosticSnapshot
impl Serialize for DiagnosticSnapshot
serialize
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Eq for DiagnosticSnapshot
impl Eq for DiagnosticSnapshot
impl StructuralPartialEq for DiagnosticSnapshot
impl StructuralPartialEq for DiagnosticSnapshot