> This page is for NeMo Relay, version v0.7.3.
> For other versions, use one of these documentation indexes:
> - Latest (v0.11.1) (default): https://docs.nvidia.com/nemo/relay/latest/llms.txt
> - dev: https://docs.nvidia.com/nemo/relay/dev/llms.txt
> - v0.11.1: https://docs.nvidia.com/nemo/relay/v0.11.1/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.

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