> 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 Serialization Intent

> Serialization and fanout optimization intent.

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

Serialization and fanout optimization intent.

Indicates that a prompt region is reused across multiple parallel requests and can benefit from serialized (shared) caching.

## Fields

### `fanout_width: u32`

Number of parallel requests sharing this content.

### `expected_savings_tokens: u64`

Expected token savings from caching.

### `reuse_probability: f64`

Probability that the cached content will be reused `[0.0, 1.0]`.

### `added_latency_ms: Option<f64>`

Additional latency introduced by the serialization strategy.

### `scope_label: SharingScope`

Sharing scope for the serialized content.

## Trait Implementations

### `impl Clone for SerializationIntent`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for SerializationIntent`

<pre />

#### `fmt`

<pre />

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

<pre />

#### `deserialize`

<pre />

### `impl PartialEq for SerializationIntent`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Serialize for SerializationIntent`

<pre />

#### `serialize`

<pre />

### `impl StructuralPartialEq for SerializationIntent`

<pre />