> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Resolved Value • Rust AI Agent SDK

> ResolvedValue: Result of parameter resolution

# ResolvedValue

> Defined in the [**Param Resolver**](../modules/param_resolver) module.

<Badge color="orange">Rust AI Agent SDK</Badge>

Result of parameter resolution

## Fields

| Name         | Type      | Description                      |
| ------------ | --------- | -------------------------------- |
| `No`         | `variant` | -                                |
| `value`      | `variant` | -                                |
| `None`       | `variant` | No value (disabled or unset)     |
| `Boolean`    | `variant` | -                                |
| `value`      | `variant` | -                                |
| `Bool`       | `variant` | Boolean value                    |
| `String`     | `variant` | -                                |
| `value`      | `variant` | -                                |
| `String`     | `variant` | String value                     |
| `List`       | `variant` | -                                |
| `of`         | `variant` | -                                |
| `strings`    | `variant` | -                                |
| `List`       | `variant` | List of strings                  |
| `Dictionary` | `variant` | -                                |
| `object`     | `variant` | -                                |
| `value`      | `variant` | -                                |
| `Dict`       | `variant` | Dictionary/object value          |
| `JSON`       | `variant` | -                                |
| `value`      | `variant` | -                                |
| `Json`       | `variant` | JSON value (for complex configs) |

## Methods

### `is_none`

```rust theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
fn is_none(&self) -> bool
```

Check if value is none/disabled

### `is_some`

```rust theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
fn is_some(&self) -> bool
```

Check if value is enabled (not none)

### `as_bool`

```rust theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
fn as_bool(&self) -> Option<bool>
```

Get as bool

### `as_str`

```rust theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
fn as_str(&self) -> Option<&str>
```

Get as string

### `as_list`

```rust theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
fn as_list(&self) -> Option<&[String]>
```

Get as list

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/parity/param_resolver.rs">
  `praisonai/src/parity/param_resolver.rs` at line 0
</Card>
