Skip to navigation

Struct Diagnostic Query

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 DiagnosticQuery {Show 13 fields
    pub component_key: Option<String>,
    pub component_instance_id: Option<Uuid>,
    pub origin_generation: Option<DiagnosticNumber>,
    pub code: Option<String>,
    pub domain: Option<DiagnosticDomain>,
    pub plugin_family: Option<PluginDiagnosticFamily>,
    pub failure_class: Option<String>,
    pub ownership: ComponentOwnership,
    pub after_sequence: Option<DiagnosticNumber>,
    pub max_components: Option<u32>,
    pub max_events: Option<u32>,
    pub max_response_bytes: Option<u32>,
    pub continuation: Option<DiagnosticCursor>,
}

Portable bounded selection; consumers never reset or mutate evidence.

Fields

component_key: Option<String>

Select one logical component key across retained registrations.

component_instance_id: Option<Uuid>

Select one registration incarnation.

origin_generation: Option<DiagnosticNumber>

Select recent events by original refresh generation only. Lifetime and current-refresh summaries keep their declared scope.

code: Option<String>

Select exact canonical code counters and events.

domain: Option<DiagnosticDomain>

Select the authoritative catalogue parent domain.

plugin_family: Option<PluginDiagnosticFamily>

Select the plugin catalogue family derived from code ownership.

failure_class: Option<String>

Select event causes only; code counters do not retain cause breakdowns.

ownership: ComponentOwnership

Select component rows by current-refresh ownership and events by original ownership. Selected lifetime counters still span the entire component instance.

after_sequence: Option<DiagnosticNumber>

Select later recent events; summary and code counters remain cumulative.

max_components: Option<u32>

Requested component-instance row cap, further constrained by core limits.

max_events: Option<u32>

Requested recent-event cap, further constrained by core limits.

max_response_bytes: Option<u32>

Requested encoded response cap, further constrained by core limits.

continuation: Option<DiagnosticCursor>

Resume a compatible bounded selection without granting additional scope.

Trait Implementations

impl Clone for DiagnosticQuery

impl Clone for DiagnosticQuery

clone

fn clone(&self) -> DiagnosticQuery

clone_from

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

impl Debug for DiagnosticQuery

impl Debug for DiagnosticQuery

fmt

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

impl Default for DiagnosticQuery

impl Default for DiagnosticQuery

default

fn default() -> DiagnosticQuery

impl<'de> Deserialize<'de> for DiagnosticQuery

impl<'de> Deserialize<'de> for DiagnosticQuery

deserialize

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

impl Hash for DiagnosticQuery

impl Hash for DiagnosticQuery

hash

fn hash<__H>(&self, state: &mut __H)where
    __H: Hasher,

hash_slice

fn hash_slice<H>(data: &[Self], state: &mut H)where
    H: Hasher,
    Self: Sized,

impl PartialEq for DiagnosticQuery

impl PartialEq for DiagnosticQuery

eq

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

ne

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

impl Serialize for DiagnosticQuery

impl Serialize for DiagnosticQuery

serialize

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

impl Eq for DiagnosticQuery

impl Eq for DiagnosticQuery

impl StructuralPartialEq for DiagnosticQuery

impl StructuralPartialEq for DiagnosticQuery