Skip to navigation

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 DiagnosticCounter {
pub code: String,
pub occurrences: DiagnosticCount,
pub last_observed_at: DateTime<Utc>,
}

Referenced types: String, DiagnosticCount, DateTime, Utc

Lifetime occurrences for one code in its containing component instance.

Fields

code: String

Canonical code; the component instance comes from the containing row.

occurrences: DiagnosticCount

Accepted occurrences, independent of optional recent detail.

last_observed_at: DateTime<Utc>

Source time when this retained counter was last updated.

Trait Implementations

impl Clone for DiagnosticCounter

impl Clone for DiagnosticCounter

Referenced types: Clone, DiagnosticCounter

clone

fn clone(&self) -> DiagnosticCounter

Referenced types: clone, DiagnosticCounter

clone_from

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

Referenced types: clone_from

impl Debug for DiagnosticCounter

impl Debug for DiagnosticCounter

Referenced types: Debug, DiagnosticCounter

fmt

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

Referenced types: fmt, Formatter, Result, (), Error

impl<'de> Deserialize<'de> for DiagnosticCounter

impl<'de> Deserialize<'de> for DiagnosticCounter

Referenced types: Deserialize, DiagnosticCounter

deserialize

fn deserialize<__D>(
__deserializer: __D,
) -> Result<DiagnosticCounter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,

Referenced types: deserialize, Result, DiagnosticCounter, Deserializer, Error

impl JsonSchema for DiagnosticCounter

impl JsonSchema for DiagnosticCounter

Referenced types: DiagnosticCounter

schema_name

fn schema_name() -> String

Referenced types: String

schema_id

fn schema_id() -> Cow<'static, str>

Referenced types: Cow, str

json_schema

fn json_schema(generator: &mut SchemaGenerator) -> Schema

is_referenceable

fn is_referenceable() -> bool

Referenced types: bool

impl PartialEq for DiagnosticCounter

impl PartialEq for DiagnosticCounter

Referenced types: PartialEq, DiagnosticCounter

eq

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

Referenced types: eq, DiagnosticCounter, bool

ne

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

Referenced types: ne, &Rhs, bool

impl Serialize for DiagnosticCounter

impl Serialize for DiagnosticCounter

Referenced types: Serialize, DiagnosticCounter

serialize

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

Referenced types: serialize, Result, Serializer, Ok, Error

impl WireValue<Box<DiagnosticCounter>> for DiagnosticCounter

impl WireValue<Box<DiagnosticCounter>> for DiagnosticCounter

Referenced types: WireValue, Box, DiagnosticCounter, DiagnosticCounter

to_wire

fn to_wire(self) -> Result<Box<DiagnosticCounter>, ConversionError>

Referenced types: to_wire, Result, Box, DiagnosticCounter, ConversionError

from_wire

fn from_wire(
value: Box<DiagnosticCounter>,
) -> Result<DiagnosticCounter, ConversionError>

Referenced types: from_wire, Box, DiagnosticCounter, Result, DiagnosticCounter, ConversionError

impl WireValue<DiagnosticCounter> for DiagnosticCounter

impl WireValue<DiagnosticCounter> for DiagnosticCounter

Referenced types: WireValue, DiagnosticCounter, DiagnosticCounter

to_wire

fn to_wire(self) -> Result<DiagnosticCounter, ConversionError>

Referenced types: to_wire, Result, DiagnosticCounter, ConversionError

from_wire

fn from_wire(
value: DiagnosticCounter,
) -> Result<DiagnosticCounter, ConversionError>

Referenced types: from_wire, DiagnosticCounter, Result, DiagnosticCounter, ConversionError

impl Eq for DiagnosticCounter

impl Eq for DiagnosticCounter

Referenced types: Eq, DiagnosticCounter

impl StructuralPartialEq for DiagnosticCounter

impl StructuralPartialEq for DiagnosticCounter

Referenced types: StructuralPartialEq, DiagnosticCounter