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

> Observability fields that event sanitizers may rewrite.

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

Observability fields that event sanitizers may rewrite.

Event identity and lifecycle fields are intentionally excluded so sanitizer callbacks cannot alter correlation, ordering, or category semantics.

## Fields

### `data: Option<Value>`

Application-defined event payload.

### `category_profile: Option<CategoryProfile>`

Category-specific typed fields.

### `metadata: Option<Value>`

Tracing and correlation metadata.

## Implementations

### `impl EventSanitizeFields`

<pre />

#### `builder`

<pre />

Create a builder for building `EventSanitizeFields`. On the builder, call `.data(...)`(optional), `.category_profile(...)`(optional), `.metadata(...)`(optional) to set the values of the fields. Finally, call `.build()` to create the instance of `EventSanitizeFields`.

## Trait Implementations

### `impl Clone for EventSanitizeFields`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for EventSanitizeFields`

<pre />

#### `fmt`

<pre />

### `impl Default for EventSanitizeFields`

<pre />

#### `default`

<pre />

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

<pre />

#### `deserialize`

<pre />

### `impl PartialEq for EventSanitizeFields`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Serialize for EventSanitizeFields`

<pre />

#### `serialize`

<pre />

### `impl StructuralPartialEq for EventSanitizeFields`

<pre />