> 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 Scope Handle

> Runtime-owned handle identifying an active or completed scope.

Generated from `cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi`.

<pre />

Runtime-owned handle identifying an active or completed scope.

## Fields

### `uuid: Uuid`

Unique scope identifier.

### `started_at: DateTime<Utc>`

Timestamp captured when the scope handle was created.

### `scope_type: ScopeType`

Semantic category of the scope.

### `name: String`

Human-readable scope name.

### `data: Option<Json>`

Optional application payload stored on the handle.

### `metadata: Option<Json>`

Optional metadata attached to the scope.

### `attributes: ScopeAttributes`

Scope behavior flags.

### `parent_uuid: Option<Uuid>`

UUID of the parent scope, if any.

## Implementations

### `impl ScopeHandle`

<pre />

#### `builder`

<pre />

Create a builder for building `ScopeHandle`. On the builder, call `.uuid(...)`(optional), `.started_at(...)`(optional), `.scope_type(...)`, `.name(...)`, `.data(...)`(optional), `.metadata(...)`(optional), `.attributes(...)`(optional), `.parent_uuid(...)`(optional) to set the values of the fields. Finally, call `.build()` to create the instance of `ScopeHandle`.

## Trait Implementations

### `impl Clone for ScopeHandle`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for ScopeHandle`

<pre />

#### `fmt`

<pre />

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

<pre />

#### `deserialize`

<pre />

### `impl Serialize for ScopeHandle`

<pre />

#### `serialize`

<pre />