> 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 Backend Capabilities

> Capabilities of a specific backend provider.

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

<pre />

Capabilities of a specific backend provider.

Two-level model: backend-level defaults plus per-model-family overrides. Feature lookup checks model-family first, falls back to backend-level.

## Fields

### `backend_id: String`

Backend identifier (e.g., "anthropic", "openai", "passthrough").

### `supported_features: HashSet<ProviderFeature>`

Backend-level supported features (default for all models).

### `model_families: HashMap<String, ModelFamilyCapabilities>`

Per-model-family capability overrides.

## Implementations

### `impl BackendCapabilities`

<pre />

#### `none`

<pre />

Create capabilities with no features (used by passthrough plugin).

#### `supports`

<pre />

Check if the backend supports a feature at the backend level.

#### `model_supports`

<pre />

Check if a specific model family supports a feature.

Falls back to backend-level if the model family is not registered.

#### `add_model_family`

<pre />

Add a model family capability override.

## Trait Implementations

### `impl Clone for BackendCapabilities`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for BackendCapabilities`

<pre />

#### `fmt`

<pre />

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

<pre />

#### `deserialize`

<pre />

### `impl PartialEq for BackendCapabilities`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Serialize for BackendCapabilities`

<pre />

#### `serialize`

<pre />

### `impl StructuralPartialEq for BackendCapabilities`

<pre />