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 DiagnosticQuery {Show 14 fields
pub schema_version: Option<u32>,
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>,
}

Referenced types: Option, u32, String, Uuid, DiagnosticNumber, DiagnosticDomain, PluginDiagnosticFamily, ComponentOwnership, DiagnosticCursor

Portable bounded selection; consumers never reset or mutate evidence.

Fields

schema_version: Option<u32>

Optional required snapshot version; omission selects this runtime’s version.

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, rejected above core limits.

max_events: Option<u32>

Requested recent-event cap, rejected above core limits.

max_response_bytes: Option<u32>

Requested encoded response cap, rejected above core limits.

continuation: Option<DiagnosticCursor>

Resume a compatible bounded selection without granting additional scope.

Trait Implementations

impl Clone for DiagnosticQuery

impl Clone for DiagnosticQuery

Referenced types: Clone, DiagnosticQuery

clone

fn clone(&self) -> DiagnosticQuery

Referenced types: clone, DiagnosticQuery

clone_from

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

Referenced types: clone_from

impl Debug for DiagnosticQuery

impl Debug for DiagnosticQuery

Referenced types: Debug, DiagnosticQuery

fmt

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

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

impl Default for DiagnosticQuery

impl Default for DiagnosticQuery

Referenced types: Default, DiagnosticQuery

default

fn default() -> DiagnosticQuery

Referenced types: default, DiagnosticQuery

impl<'de> Deserialize<'de> for DiagnosticQuerywhere DiagnosticQuery: Default,

impl<'de> Deserialize<'de> for DiagnosticQuerywhere
DiagnosticQuery: Default,

Referenced types: Deserialize, DiagnosticQuery, Default

deserialize

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

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

impl Hash for DiagnosticQuery

impl Hash for DiagnosticQuery

Referenced types: Hash, DiagnosticQuery

hash

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

Referenced types: hash, &mut __H, Hasher

hash_slice

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

Referenced types: hash_slice, &mut H, Hasher, Sized

impl JsonSchema for DiagnosticQuery

impl JsonSchema for DiagnosticQuery

Referenced types: DiagnosticQuery

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 DiagnosticQuery

impl PartialEq for DiagnosticQuery

Referenced types: PartialEq, DiagnosticQuery

eq

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

Referenced types: eq, DiagnosticQuery, bool

ne

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

Referenced types: ne, &Rhs, bool

impl Serialize for DiagnosticQuery

impl Serialize for DiagnosticQuery

Referenced types: Serialize, DiagnosticQuery

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

impl WireValue<Box<DiagnosticQuery>> for DiagnosticQuery

Referenced types: WireValue, Box, DiagnosticQuery, DiagnosticQuery

to_wire

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

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

from_wire

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

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

impl WireValue<DiagnosticQuery> for DiagnosticQuery

impl WireValue<DiagnosticQuery> for DiagnosticQuery

Referenced types: WireValue, DiagnosticQuery, DiagnosticQuery

to_wire

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

Referenced types: to_wire, Result, DiagnosticQuery, ConversionError

from_wire

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

Referenced types: from_wire, DiagnosticQuery, Result, DiagnosticQuery, ConversionError

impl Eq for DiagnosticQuery

impl Eq for DiagnosticQuery

Referenced types: Eq, DiagnosticQuery

impl StructuralPartialEq for DiagnosticQuery

impl StructuralPartialEq for DiagnosticQuery

Referenced types: StructuralPartialEq, DiagnosticQuery