> 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 full documentation content, see https://docs.nvidia.com/nemo/relay/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server.

# Struct Editor Field Spec

> Static editor metadata for one configuration field.

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

<pre />

Static editor metadata for one configuration field.

## Fields

### `name: &'static str`

Serialized field name.

### `label: &'static str`

Human-readable label.

### `kind: EditorFieldKind`

Editor control shape.

### `enum_values: &'static [&'static str]`

Allowed string enum values, when [`EditorFieldKind::Enum`](/reference/api/rust-library-reference/nemo-relay/config_editor/enum-editorfieldkind) is used.

### `optional: bool`

Whether the field is represented as an `Option<T>` in Rust.

### `nested_schema: Option<fn() -> &'static EditorSchema>`

Nested editor schema for section fields.

### `nested_default: Option<fn() -> Value>`

Default value for a nested section.

## Implementations

### `impl EditorFieldSpec`

<pre />

#### `schema`

<pre />

Returns the nested schema for this field, if it is a section.

#### `default_value`

<pre />

Returns the typed default value for this field's nested section.

## Trait Implementations

### `impl Clone for EditorFieldSpec`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Copy for EditorFieldSpec`

<pre />