> 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 Nemo Relay Native LlmSanitize Request Context

> Per-call LLM sanitizer context passed over the native ABI.

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

Per-call LLM sanitizer context passed over the native ABI.

`codec_id` is borrowed for the duration of the callback. It is null for [`NemoRelayNativeLlmCodecKind::None`](/reference/api/rust-library-reference/nemo-relay-plugin/enum-nemorelaynativellmcodeckind) and [`NemoRelayNativeLlmCodecKind::Opaque`](/reference/api/rust-library-reference/nemo-relay-plugin/enum-nemorelaynativellmcodeckind). For `BuiltIn`, it is one of the stable built-in codec IDs; for `Runtime`, it is the registered codec ID.

## Fields

### `codec_kind: NemoRelayNativeLlmCodecKind`

Discriminator for the active codec.

### `codec_id: *const NemoRelayNativeString`

Optional borrowed codec identifier.

### `codec: *const NemoRelayNativeLlmRequestCodec`

Borrowed request codec capability, or null when no codec is active.

## Trait Implementations

### `impl Clone for NemoRelayNativeLlmSanitizeRequestContext`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for NemoRelayNativeLlmSanitizeRequestContext`

<pre />

#### `fmt`

<pre />

### `impl Copy for NemoRelayNativeLlmSanitizeRequestContext`

<pre />