Struct Diagnostic Event
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -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.
Referenced types: DiagnosticNumber, DateTime, Utc, ComponentIdentity, DiagnosticOrigin, Option, RemoteDiagnosticOrigin, Classification, PluginObservationContext, DiagnosticSeverity, DiagnosticOutcome, DiagnosticDetail, DiagnosticCorrelation
One recent observation with its actual class and original configuration attribution.
Fields
sequence: DiagnosticNumber
Unique source-local update sequence; it is not an occurrence counter.
observed_at: DateTime<Utc>
Source observation time, preserved through projections.
component: ComponentIdentity
Registration that owned the original observation.
origin: DiagnosticOrigin
Original configuration attribution, preserved through component refresh.
remote: Option<RemoteDiagnosticOrigin>
Authenticated remote submission provenance, absent for local observations.
classification: Classification
Canonical event classification; never reconstructed from a latest message.
context: PluginObservationContext
Bounded plugin-operation wire facts, excluded from aggregation keys.
severity: DiagnosticSeverity
Evidence severity, independent of its observed operation outcome.
outcome: DiagnosticOutcome
Explicit observed operation outcome.
detail: Option<DiagnosticDetail>
Bounded optional evidence; absence does not imply a missing counter.
count: DiagnosticNumber
Input occurrence delta represented by this recording call.
correlation: DiagnosticCorrelation<'static>
Restricted caller correlation, excluded from aggregation identity.
Implementations
impl DiagnosticEvent
Referenced types: DiagnosticEvent
code
Referenced types: str
Borrow the canonical code without allocating a second representation.
message
Borrow retained detail, when available.
Trait Implementations
impl Clone for DiagnosticEvent
Referenced types: Clone, DiagnosticEvent
clone
Referenced types: clone, DiagnosticEvent
clone_from
Referenced types: clone_from
impl Debug for DiagnosticEvent
Referenced types: Debug, DiagnosticEvent
fmt
Referenced types: fmt, Formatter, Result, (), Error
impl<'de> Deserialize<'de> for DiagnosticEvent
Referenced types: Deserialize, DiagnosticEvent
deserialize
Referenced types: deserialize, Result, DiagnosticEvent, Deserializer, Error
impl JsonSchema for DiagnosticEvent
Referenced types: DiagnosticEvent
schema_name
Referenced types: String
schema_id
json_schema
is_referenceable
Referenced types: bool
impl PartialEq for DiagnosticEvent
Referenced types: PartialEq, DiagnosticEvent
eq
Referenced types: eq, DiagnosticEvent, bool
ne
Referenced types: ne, &Rhs, bool
impl Serialize for DiagnosticEvent
Referenced types: Serialize, DiagnosticEvent
serialize
Referenced types: serialize, Result, Serializer, Ok, Error
impl WireValue<Box<DiagnosticEvent>> for DiagnosticEvent
Referenced types: WireValue, Box, DiagnosticEvent, DiagnosticEvent
to_wire
Referenced types: to_wire, Result, Box, DiagnosticEvent, ConversionError
from_wire
Referenced types: from_wire, Box, DiagnosticEvent, Result, DiagnosticEvent, ConversionError
impl WireValue<DiagnosticEvent> for DiagnosticEvent
Referenced types: WireValue, DiagnosticEvent, DiagnosticEvent
to_wire
Referenced types: to_wire, Result, DiagnosticEvent, ConversionError
from_wire
Referenced types: from_wire, DiagnosticEvent, Result, DiagnosticEvent, ConversionError
impl Eq for DiagnosticEvent
Referenced types: Eq, DiagnosticEvent
impl StructuralPartialEq for DiagnosticEvent
Referenced types: StructuralPartialEq, DiagnosticEvent