Struct Component Snapshot
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 ComponentSnapshot {
pub identity: ComponentIdentity,
pub registered_at: DateTime<Utc>,
pub closed_at: Option<DateTime<Utc>>,
pub lifetime: DiagnosticLifetimeSummary,
pub since_refresh: DiagnosticRefreshSummary,
pub counters: Vec<DiagnosticCounter>,
pub windows: Vec<DiagnosticWindow>,
}
One retained row per component registration instance.
Fields
identity: ComponentIdentity
Logical responsibility and registration incarnation.
registered_at: DateTime<Utc>
Source correlation time when the registration was admitted.
closed_at: Option<DateTime<Utc>>
Registration closure; retained summaries remain subject to bounded retention.
lifetime: DiagnosticLifetimeSummary
Whole-component-instance lifetime accounting and source elapsed time.
since_refresh: DiagnosticRefreshSummary
The sole current refresh period, with explicitly scoped current ownership.
counters: Vec<DiagnosticCounter>
Selected lifetime code counters; no latest-message set is retained per code.
windows: Vec<DiagnosticWindow>
Admitted bounded component outcome windows, independent of refresh periods.
Trait Implementations
impl Clone for ComponentSnapshot
impl Clone for ComponentSnapshot
clone
fn clone(&self) -> ComponentSnapshot
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for ComponentSnapshot
impl Debug for ComponentSnapshot
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl<'de> Deserialize<'de> for ComponentSnapshot
impl<'de> Deserialize<'de> for ComponentSnapshot
deserialize
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ComponentSnapshot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl PartialEq for ComponentSnapshot
impl PartialEq for ComponentSnapshot
eq
fn eq(&self, other: &ComponentSnapshot) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for ComponentSnapshot
impl Serialize for ComponentSnapshot
serialize
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Eq for ComponentSnapshot
impl Eq for ComponentSnapshot
impl StructuralPartialEq for ComponentSnapshot
impl StructuralPartialEq for ComponentSnapshot