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 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,
}

Referenced types: Option, DiagnosticNumber, 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

Referenced types: Clone, DiagnosticRetention

clone

fn clone(&self) -> DiagnosticRetention

Referenced types: clone, DiagnosticRetention

clone_from

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

Referenced types: clone_from

impl Debug for DiagnosticRetention

impl Debug for DiagnosticRetention

Referenced types: Debug, DiagnosticRetention

fmt

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

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

impl Default for DiagnosticRetention

impl Default for DiagnosticRetention

Referenced types: Default, DiagnosticRetention

default

fn default() -> DiagnosticRetention

Referenced types: default, DiagnosticRetention

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

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

Referenced types: Deserialize, DiagnosticRetention

deserialize

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

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

impl JsonSchema for DiagnosticRetention

impl JsonSchema for DiagnosticRetention

Referenced types: DiagnosticRetention

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 DiagnosticRetention

impl PartialEq for DiagnosticRetention

Referenced types: PartialEq, DiagnosticRetention

eq

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

Referenced types: eq, DiagnosticRetention, bool

ne

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

Referenced types: ne, &Rhs, bool

impl Serialize for DiagnosticRetention

impl Serialize for DiagnosticRetention

Referenced types: Serialize, DiagnosticRetention

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<DiagnosticRetention>> for DiagnosticRetention

impl WireValue<Box<DiagnosticRetention>> for DiagnosticRetention

Referenced types: WireValue, Box, DiagnosticRetention, DiagnosticRetention

to_wire

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

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

from_wire

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

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

impl WireValue<DiagnosticRetention> for DiagnosticRetention

impl WireValue<DiagnosticRetention> for DiagnosticRetention

Referenced types: WireValue, DiagnosticRetention, DiagnosticRetention

to_wire

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

Referenced types: to_wire, Result, DiagnosticRetention, ConversionError

from_wire

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

Referenced types: from_wire, DiagnosticRetention, Result, DiagnosticRetention, ConversionError

impl Eq for DiagnosticRetention

impl Eq for DiagnosticRetention

Referenced types: Eq, DiagnosticRetention

impl StructuralPartialEq for DiagnosticRetention

impl StructuralPartialEq for DiagnosticRetention

Referenced types: StructuralPartialEq, DiagnosticRetention