> 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 Event

> One recent observation with its actual class and original configuration attribution.

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 />

One recent observation with its actual class and original configuration attribution.

## Fields

### `sequence: DiagnosticNumber`

Unique source-local update sequence; it is not an occurrence counter.

### `observed_at: DateTime<Utc>`

Source observation time, preserved through projections.

### `component: ComponentIdentity`

Registration that owned the original observation.

### `origin: DiagnosticOrigin`

Original configuration attribution, preserved through component refresh.

### `remote: Option<RemoteDiagnosticOrigin>`

Authenticated remote submission provenance, absent for local observations.

### `classification: Classification`

Canonical event classification; never reconstructed from a latest message.

### `context: PluginObservationContext`

Bounded plugin-operation wire facts, excluded from aggregation keys.

### `severity: DiagnosticSeverity`

Evidence severity, independent of its observed operation outcome.

### `outcome: DiagnosticOutcome`

Explicit observed operation outcome.

### `detail: Option<DiagnosticDetail>`

Bounded optional evidence; absence does not imply a missing counter.

### `count: DiagnosticNumber`

Input occurrence delta represented by this recording call.

### `correlation: DiagnosticCorrelation<'static>`

Restricted caller correlation, excluded from aggregation identity.

## Implementations

### `impl DiagnosticEvent`

<pre />

#### `code`

<pre />

Borrow the canonical code without allocating a second representation.

#### `message`

<pre />

Borrow retained detail, when available.

## Trait Implementations

### `impl Clone for DiagnosticEvent`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for DiagnosticEvent`

<pre />

#### `fmt`

<pre />

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

<pre />

#### `deserialize`

<pre />

### `impl PartialEq for DiagnosticEvent`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Serialize for DiagnosticEvent`

<pre />

#### `serialize`

<pre />

### `impl Eq for DiagnosticEvent`

<pre />

### `impl StructuralPartialEq for DiagnosticEvent`

<pre />