> ## 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.

# To Map • Rust AI Agent SDK

> to_map: Convert to dictionary/map

# to\_map

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**HandoffConfig**](../classes/HandoffConfig) class in the [**handoff**](../modules/handoff) module.

Convert to dictionary/map

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def to_map(&self) -> HashMap<String, serde_json::Value>
```

### Returns

<ResponseField name="Returns" type="HashMap<String, serde_json::Value>">
  The result of the operation.
</ResponseField>
