> 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 Data Schema

> Identifier for the schema that describes an event's opaque `data` payload.

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

Identifier for the schema that describes an event's opaque `data` payload.

## Fields

### `name: String`

Schema name.

### `version: String`

Schema version.

## Implementations

### `impl DataSchema`

<pre />

#### `builder`

<pre />

Create a builder for building `DataSchema`. On the builder, call `.name(...)`, `.version(...)` to set the values of the fields. Finally, call `.build()` to create the instance of `DataSchema`.

## Trait Implementations

### `impl Clone for DataSchema`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for DataSchema`

<pre />

#### `fmt`

<pre />

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

<pre />

#### `deserialize`

<pre />

### `impl PartialEq for DataSchema`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Serialize for DataSchema`

<pre />

#### `serialize`

<pre />

### `impl Eq for DataSchema`

<pre />

### `impl StructuralPartialEq for DataSchema`

<pre />