> This page is for NeMo Fabric, version Latest (v0.4.0) (default).
> For other versions, use one of these documentation indexes:
> - Latest (v0.4.0) (default): https://docs.nvidia.com/nemo/fabric/latest/llms.txt
> - dev: https://docs.nvidia.com/nemo/fabric/dev/llms.txt
> - v0.5.0: https://docs.nvidia.com/nemo/fabric/v0.5.0/llms.txt
> - v0.4.0: https://docs.nvidia.com/nemo/fabric/v0.4.0/llms.txt
> - v0.3.0: https://docs.nvidia.com/nemo/fabric/v0.3.0/llms.txt
> - v0.2.0: https://docs.nvidia.com/nemo/fabric/v0.2.0/llms.txt
> - v0.1.1: https://docs.nvidia.com/nemo/fabric/v0.1.1/llms.txt
> - v0.1.0: https://docs.nvidia.com/nemo/fabric/v0.1.0/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/fabric/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/fabric/_mcp/server.

# Struct Service Reference

> Caller-supplied reference to an already-running service.

Generated from `cargo doc --no-deps -p nemo-fabric-core`.

<pre />

Caller-supplied reference to an already-running service.

## Fields

### `adapter_id: String`

Adapter that understands and connects to the service.

### `service_type: String`

Stable service type understood by the selected adapter.

### `connection: BTreeMap<String, Value>`

Non-secret connection fields and credential references.

### `metadata: BTreeMap<String, Value>`

Adapter-specific caller-owned service metadata.

## Trait Implementations

### `impl Clone for ServiceReference`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for ServiceReference`

<pre />

#### `fmt`

<pre />

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

<pre />

#### `deserialize`

<pre />

### `impl JsonSchema for ServiceReference`

<pre />

#### `schema_name`

<pre />

#### `schema_id`

<pre />

#### `json_schema`

<pre />

#### `inline_schema`

<pre />

### `impl PartialEq for ServiceReference`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Serialize for ServiceReference`

<pre />

#### `serialize`

<pre />

### `impl StructuralPartialEq for ServiceReference`

<pre />