> For clean Markdown of any page, append .md to the page URL. For a task-oriented documentation index, fetch https://docs.nvidia.com/nemo/relay/llms.txt. Use the documentation version matching the installed NeMo Relay package: latest follows the latest stable release, vX.Y.Z identifies a retained release snapshot, and dev documents development changes. Preserve the selected version when following links; do not mix examples or API contracts from different versions. Fetch the relevant section's /llms.txt before individual pages instead of loading a complete version index. # Module content > Typed content traversal, shared selection, and owned transport snapshots. Borrowed access to normalized message content. Generated from `cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -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`. Typed content traversal, shared selection, and owned transport snapshots. Borrowed access to normalized message content. Views do not reconstruct provider wire order, parse tool arguments, or retain conversation state. Locations refer to the current normalized source only. ## Structs * [ContentCursor](/reference/api/rust-library-reference/nemo-relay/codec/content/struct-contentcursor): Forward-only traversal state, independent of the borrowed source lifetime. * [ContentEntry](/reference/api/rust-library-reference/nemo-relay/codec/content/struct-contententry): One typed entry and its location in the normalized source. * [ContentLocation](/reference/api/rust-library-reference/nemo-relay/codec/content/struct-contentlocation): Read-time location; not a stable edit handle or provider-wire offset. * [ContentSnapshot](/reference/api/rust-library-reference/nemo-relay/codec/content/struct-contentsnapshot): Owned snapshot; materialization copies selected content for transport or independent retention. * [MessageView](/reference/api/rust-library-reference/nemo-relay/codec/content/struct-messageview): Shared read-only view of a request item, response output, or instructions. * [SnapshotEntry](/reference/api/rust-library-reference/nemo-relay/codec/content/struct-snapshotentry): One owned typed entry and its read-time normalized location. * [SnapshotToolCall](/reference/api/rust-library-reference/nemo-relay/codec/content/struct-snapshottoolcall): Owned invocation identifiers, name, and arguments. * [SnapshotToolResult](/reference/api/rust-library-reference/nemo-relay/codec/content/struct-snapshottoolresult): Owned result identifiers and complete payload. * [ToolCallView](/reference/api/rust-library-reference/nemo-relay/codec/content/struct-toolcallview): Borrowed tool-call data, retaining the source's identifier distinctions. * [ToolResultView](/reference/api/rust-library-reference/nemo-relay/codec/content/struct-toolresultview): Borrowed tool result. Its payload is excluded from default text extraction. ## Enums * [ContentField](/reference/api/rust-library-reference/nemo-relay/codec/content/enum-contentfield): Field containing an entry, relative to its normalized root. * [ContentKind](/reference/api/rust-library-reference/nemo-relay/codec/content/enum-contentkind): Typed content without cloning the normalized source. * [ContentRoot](/reference/api/rust-library-reference/nemo-relay/codec/content/enum-contentroot): The normalized object against which a content location is interpreted. * [ContentSelection](/reference/api/rust-library-reference/nemo-relay/codec/content/enum-contentselection): Selection applied before extraction. Invalid source/selection pairs are errors. * [ContentSelectionError](/reference/api/rust-library-reference/nemo-relay/codec/content/enum-contentselectionerror): Invalid content-inspection selection, independent of any transport. * [ContentSource](/reference/api/rust-library-reference/nemo-relay/codec/content/enum-contentsource): Borrowed normalized input for content inspection; no provider decoding occurs. * [PayloadRef](/reference/api/rust-library-reference/nemo-relay/codec/content/enum-payloadref): A payload in its existing representation. No parsing or rendering is performed. * [RetainedContent](/reference/api/rust-library-reference/nemo-relay/codec/content/enum-retainedcontent): Owned backing for lazy traversal after the original annotation is dropped. * [SnapshotKind](/reference/api/rust-library-reference/nemo-relay/codec/content/enum-snapshotkind): Owned counterpart of borrowed content kinds. * [SnapshotPayload](/reference/api/rust-library-reference/nemo-relay/codec/content/enum-snapshotpayload): Tool payload in its existing normalized representation. ## Docs - [Struct Content Cursor](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/struct-contentcursor.md): Forward-only traversal state, independent of the borrowed source lifetime. - [Struct Content Entry](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/struct-contententry.md): One typed entry and its location in the normalized source. - [Struct Content Location](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/struct-contentlocation.md): Read-time location; not a stable edit handle or provider-wire offset. - [Struct Content Snapshot](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/struct-contentsnapshot.md): Owned snapshot; materialization copies selected content for transport or independent retention. - [Struct Message View](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/struct-messageview.md): Shared read-only view of a request item, response output, or instructions. - [Struct Snapshot Entry](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/struct-snapshotentry.md): One owned typed entry and its read-time normalized location. - [Struct Snapshot Tool Call](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/struct-snapshottoolcall.md): Owned invocation identifiers, name, and arguments. - [Struct Snapshot Tool Result](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/struct-snapshottoolresult.md): Owned result identifiers and complete payload. - [Struct Tool Call View](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/struct-toolcallview.md): Borrowed tool-call data, retaining the source's identifier distinctions. - [Struct Tool Result View](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/struct-toolresultview.md): Borrowed tool result. Its payload is excluded from default text extraction. - [Enum Content Field](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/enum-contentfield.md): Field containing an entry, relative to its normalized root. - [Enum Content Kind](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/enum-contentkind.md): Typed content without cloning the normalized source. - [Enum Content Root](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/enum-contentroot.md): The normalized object against which a content location is interpreted. - [Enum Content Selection](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/enum-contentselection.md): Selection applied before extraction. Invalid source/selection pairs are errors. - [Enum Content Selection Error](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/enum-contentselectionerror.md): Invalid content-inspection selection, independent of any transport. - [Enum Content Source](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/enum-contentsource.md): Borrowed normalized input for content inspection; no provider decoding occurs. - [Enum Payload Ref](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/enum-payloadref.md): A payload in its existing representation. No parsing or rendering is performed. - [Enum Retained Content](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/enum-retainedcontent.md): Owned backing for lazy traversal after the original annotation is dropped. - [Enum Snapshot Kind](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/enum-snapshotkind.md): Owned counterpart of borrowed content kinds. - [Enum Snapshot Payload](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay/codec/content/enum-snapshotpayload.md): Tool payload in its existing normalized representation.