Skip to navigation

Struct Diagnostic Counter

View as Markdown

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

clone

fn clone(&self) -> DiagnosticCounter

clone_from

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

impl Debug for DiagnosticCounter

impl Debug for DiagnosticCounter

fmt

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

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

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

deserialize

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

impl PartialEq for DiagnosticCounter

impl PartialEq for DiagnosticCounter

eq

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

ne

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

impl Serialize for DiagnosticCounter

impl Serialize for DiagnosticCounter

serialize

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

impl Eq for DiagnosticCounter

impl Eq for DiagnosticCounter

impl StructuralPartialEq for DiagnosticCounter

impl StructuralPartialEq for DiagnosticCounter