Struct Runtime Diagnostic
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.
pub struct RuntimeDiagnostic {
pub code: String,
pub component: String,
pub field: Option<String>,
pub message: String,
pub session_id: Option<String>,
pub count: u64,
}
Bounded aggregate for a runtime failure observed by an active plugin.
Fields
code: String
Stable failure classification.
component: String
Plugin component that reported the failure.
field: Option<String>
Optional configuration field associated with the failure.
message: String
Latest human-readable failure detail.
session_id: Option<String>
Latest affected trajectory session identifier.
count: u64
Number of failures aggregated into this entry.
Trait Implementations
impl Clone for RuntimeDiagnostic
impl Clone for RuntimeDiagnostic
clone
fn clone(&self) -> RuntimeDiagnostic
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for RuntimeDiagnostic
impl Debug for RuntimeDiagnostic
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for RuntimeDiagnostic
impl<'de> Deserialize<'de> for RuntimeDiagnostic
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl JsonSchema for RuntimeDiagnostic
impl JsonSchema for RuntimeDiagnostic
schema_name
fn schema_name() -> String
schema_id
fn schema_id() -> Cow<'static, str>
json_schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
is_referenceable
fn is_referenceable() -> bool
impl Serialize for RuntimeDiagnostic
impl Serialize for RuntimeDiagnostic
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,