> This page is for NeMo Relay, version dev.
> For other versions, use one of these documentation indexes:
> - Latest (v0.10.4) (default): https://docs.nvidia.com/nemo/relay/latest/llms.txt
> - dev: https://docs.nvidia.com/nemo/relay/dev/llms.txt
> - v0.10.4: https://docs.nvidia.com/nemo/relay/v0.10.4/llms.txt
> - v0.9.4: https://docs.nvidia.com/nemo/relay/v0.9.4/llms.txt
> - v0.8.4: https://docs.nvidia.com/nemo/relay/v0.8.4/llms.txt
> - v0.7.3: https://docs.nvidia.com/nemo/relay/v0.7.3/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/relay/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server.

# Struct Diagnostic Query

> Portable bounded selection; consumers never reset or mutate evidence.

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`.

<pre />

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`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for DiagnosticQuery`

<pre />

#### `fmt`

<pre />

### `impl Default for DiagnosticQuery`

<pre />

#### `default`

<pre />

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

<pre />

#### `deserialize`

<pre />

### `impl Hash for DiagnosticQuery`

<pre />

#### `hash`

<pre />

#### `hash_slice`

<pre />

### `impl PartialEq for DiagnosticQuery`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Serialize for DiagnosticQuery`

<pre />

#### `serialize`

<pre />

### `impl Eq for DiagnosticQuery`

<pre />

### `impl StructuralPartialEq for DiagnosticQuery`

<pre />