> 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 Push Scope Params

> Builder parameters for `push_scope`.

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

Builder parameters for [`push_scope`](/reference/api/rust-library-reference/nemo-relay/api/scope/fn-push-scope).

## Fields

### `name: &'a str`

Human-readable scope name recorded on emitted lifecycle events.

### `scope_type: ScopeType`

Semantic category for the new scope.

### `parent: Option<&'a ScopeHandle>`

Optional explicit parent scope.

### `attributes: ScopeAttributes`

Scope attribute bitflags applied to the new scope.

### `data: Option<Json>`

Optional application payload stored on the scope handle.

### `metadata: Option<Json>`

Optional JSON metadata recorded on the emitted start event.

### `input: Option<Json>`

Optional JSON payload exported as the scope start event data.

### `timestamp: Option<DateTime<Utc>>`

Optional timestamp recorded on the emitted start event.

## Implementations

### `impl<'a> PushScopeParams<'a>`

<pre />

#### `builder`

<pre />

Create a builder for building `PushScopeParams`. On the builder, call `.name(...)`, `.scope_type(...)`, `.parent(...)`(optional), `.attributes(...)`(optional), `.data(...)`(optional), `.metadata(...)`(optional), `.input(...)`(optional), `.timestamp(...)`(optional) to set the values of the fields. Finally, call `.build()` to create the instance of `PushScopeParams`.