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 DiagnosticRefreshSummary {
pub generation: DiagnosticNumber,
pub started_at: DateTime<Utc>,
pub elapsed_millis: DiagnosticNumber,
pub ownership: ComponentOwnership,
pub totals: DiagnosticTotals,
}

Referenced types: DiagnosticNumber, DateTime, Utc, ComponentOwnership, DiagnosticTotals

One current resettable counting period, with no retained historical summary.

The generation marks a refresh boundary within a component instance. Ownership describes this current period; it does not relabel the component lifetime totals. Totals count observations recorded after the refresh boundary, including work carrying an older captured origin, and evictions performed after the boundary.

Fields

generation: DiagnosticNumber

Component-local generation increased by a successful refresh.

started_at: DateTime<Utc>

Wall-clock correlation anchor for the successful refresh.

elapsed_millis: DiagnosticNumber

Monotonic elapsed duration since the refresh boundary.

ownership: ComponentOwnership

Current configuration and owner attribution for this counting period.

totals: DiagnosticTotals

Counts for this current period, independently reserved from lifetime totals.

Trait Implementations

impl Clone for DiagnosticRefreshSummary

impl Clone for DiagnosticRefreshSummary

Referenced types: Clone, DiagnosticRefreshSummary

clone

fn clone(&self) -> DiagnosticRefreshSummary

Referenced types: clone, DiagnosticRefreshSummary

clone_from

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

Referenced types: clone_from

impl Debug for DiagnosticRefreshSummary

impl Debug for DiagnosticRefreshSummary

Referenced types: Debug, DiagnosticRefreshSummary

fmt

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

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

impl<'de> Deserialize<'de> for DiagnosticRefreshSummary

impl<'de> Deserialize<'de> for DiagnosticRefreshSummary

Referenced types: Deserialize, DiagnosticRefreshSummary

deserialize

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

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

impl JsonSchema for DiagnosticRefreshSummary

impl JsonSchema for DiagnosticRefreshSummary

Referenced types: DiagnosticRefreshSummary

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 DiagnosticRefreshSummary

impl PartialEq for DiagnosticRefreshSummary

Referenced types: PartialEq, DiagnosticRefreshSummary

eq

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

Referenced types: eq, DiagnosticRefreshSummary, bool

ne

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

Referenced types: ne, &Rhs, bool

impl Serialize for DiagnosticRefreshSummary

impl Serialize for DiagnosticRefreshSummary

Referenced types: Serialize, DiagnosticRefreshSummary

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

impl WireValue<Box<DiagnosticRefreshSummary>> for DiagnosticRefreshSummary

Referenced types: WireValue, Box, DiagnosticRefreshSummary, DiagnosticRefreshSummary

to_wire

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

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

from_wire

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

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

impl WireValue<DiagnosticRefreshSummary> for DiagnosticRefreshSummary

impl WireValue<DiagnosticRefreshSummary> for DiagnosticRefreshSummary

Referenced types: WireValue, DiagnosticRefreshSummary, DiagnosticRefreshSummary

to_wire

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

Referenced types: to_wire, Result, DiagnosticRefreshSummary, ConversionError

from_wire

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

Referenced types: from_wire, DiagnosticRefreshSummary, Result, DiagnosticRefreshSummary, ConversionError

impl Eq for DiagnosticRefreshSummary

impl Eq for DiagnosticRefreshSummary

Referenced types: Eq, DiagnosticRefreshSummary

impl StructuralPartialEq for DiagnosticRefreshSummary

impl StructuralPartialEq for DiagnosticRefreshSummary

Referenced types: StructuralPartialEq, DiagnosticRefreshSummary