Skip to navigation

Struct Diagnostic Retention

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 DiagnosticRetention {
    pub oldest_event_sequence: Option<DiagnosticNumber>,
    pub latest_event_sequence: Option<DiagnosticNumber>,
    pub events_retained: DiagnosticNumber,
    pub components_retained: DiagnosticNumber,
    pub query_truncated: bool,
}

Boundaries of returned retained evidence, separate from cumulative counters.

Fields

oldest_event_sequence: Option<DiagnosticNumber>

Oldest sequence in the selected retained event history, if present.

latest_event_sequence: Option<DiagnosticNumber>

Latest sequence in the selected retained event history, if present.

events_retained: DiagnosticNumber

Number of returned recent events.

components_retained: DiagnosticNumber

Number of returned component-instance rows.

query_truncated: bool

Query limits omitted otherwise matching retained evidence.

Trait Implementations

impl Clone for DiagnosticRetention

impl Clone for DiagnosticRetention

clone

fn clone(&self) -> DiagnosticRetention

clone_from

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

impl Debug for DiagnosticRetention

impl Debug for DiagnosticRetention

fmt

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

impl Default for DiagnosticRetention

impl Default for DiagnosticRetention

default

fn default() -> DiagnosticRetention

impl<'de> Deserialize<'de> for DiagnosticRetention

impl<'de> Deserialize<'de> for DiagnosticRetention

deserialize

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

impl PartialEq for DiagnosticRetention

impl PartialEq for DiagnosticRetention

eq

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

ne

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

impl Serialize for DiagnosticRetention

impl Serialize for DiagnosticRetention

serialize

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

impl Eq for DiagnosticRetention

impl Eq for DiagnosticRetention

impl StructuralPartialEq for DiagnosticRetention

impl StructuralPartialEq for DiagnosticRetention