---
title: convert
summary: Convenient conversion traits.
url: https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/convert/
---

**Kind:** Module  
**Package:** fastly 0.13.1  
**Path:** `fastly::convert`

Convenient conversion traits.

## Traits

| Name | Summary |
| --- | --- |
| [ToBackend](https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/convert/trait.ToBackend/) | Types that can be converted to a [`Backend`](https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/backend/struct.Backend/). |
| [ToHeaderName](https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/convert/trait.ToHeaderName/) | Types that can be converted to a [`HeaderName`](https://docs.rs/http/latest/http/header/name/struct.HeaderName.html). |
| [ToHeaderValue](https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/convert/trait.ToHeaderValue/) | Types that can be converted to a [`HeaderValue`](https://docs.rs/http/latest/http/header/value/struct.HeaderValue.html). |
| [ToMethod](https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/convert/trait.ToMethod/) | Types that can be converted to a [`Method`](https://docs.rs/http/latest/http/method/struct.Method.html). |
| [ToStatusCode](https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/convert/trait.ToStatusCode/) | Types that can be converted to a [`StatusCode`](https://docs.rs/http/latest/http/status/struct.StatusCode.html). |
| [ToUrl](https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/convert/trait.ToUrl/) | Types that can be converted to a [`Url`](https://docs.rs/url/2.5.7/url/struct.Url.html). |
