---
title: ResVpnProxyData
summary: VPN and proxy intelligence data for the downstream client IP address.
url: https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/http/request/struct.ResVpnProxyData/
---

**Kind:** Struct  
**Module:** [request](https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/http/request/)  
**Package:** fastly 0.13.2  
**Source:** https://docs.rs/crate/fastly/0.13.2/source/src/http/request.rs#283

```rust
pub struct ResVpnProxyData {
    pub is_anonymous: bool,
    pub is_anonymous_vpn: bool,
    pub is_hosting_provider: bool,
    pub is_proxy_over_vpn: bool,
    pub is_public_proxy: bool,
    pub is_relay_proxy: bool,
    pub is_residential_proxy: bool,
    pub is_smart_dns_proxy: bool,
    pub is_tor_exit_node: bool,
    pub is_vpn_datacenter: bool,
    pub vpn_service_name: Option<String>,
}
```

VPN and proxy intelligence data for the downstream client IP address.

Returned by [`Request::get_vpn_proxy_data()`](https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/http/request/struct.Request/#method-get_vpn_proxy_data). Returns `None` if the ResVPNProxy feature is
not enabled or no intelligence data is available for this IP address.

## Fields

### is_anonymous

**Type:** `bool`

True if the IP address is present in one or more categories of anonymous flags.

### is_anonymous_vpn

**Type:** `bool`

True if the IP address was identified as being from a VPN exit node.

### is_hosting_provider

**Type:** `bool`

True if the IP address was identified as being from a hosting provider or data center.

### is_proxy_over_vpn

**Type:** `bool`

True if the IP address was detected with the Proxy over VPN technique.

### is_public_proxy

**Type:** `bool`

True if the IP address was identified as being from a public proxy exit node.

### is_relay_proxy

**Type:** `bool`

True if the IP address was identified as being from a relay proxy.

### is_residential_proxy

**Type:** `bool`

True if the IP address was identified as being from a proxy associated with a residential ISP.

### is_smart_dns_proxy

**Type:** `bool`

True if the IP address was identified as being from a SmartDNS exit node.

### is_tor_exit_node

**Type:** `bool`

True if the IP address was identified as being from a Tor exit node.

### is_vpn_datacenter

**Type:** `bool`

True if the IP address was identified as being part of a known VPN data center.

### vpn_service_name

**Type:** `Option<String>`

The name of the VPN service associated with the IP address, if known.

## Trait implementations

### impl Clone for ResVpnProxyData

#### clone

**Source:** https://docs.rs/crate/fastly/0.13.2/source/src/http/request.rs#282

```rust
fn clone(&self) -> Self
```

**Parameters**

- `self`: `&Self`

**Returns**

`Self`

### impl Debug for ResVpnProxyData

#### fmt

**Source:** https://docs.rs/crate/fastly/0.13.2/source/src/http/request.rs#282

```rust
fn fmt(&self, f: &mut Formatter<'_>) -> Result
```

**Parameters**

- `self`: `&Self`
- `f`: `&mut $crate::fmt::Formatter`

**Returns**

`$crate::fmt::Result`

### impl PartialEq for ResVpnProxyData

#### eq

**Source:** https://docs.rs/crate/fastly/0.13.2/source/src/http/request.rs#282

```rust
fn eq(&self, other: &Self) -> bool
```

**Parameters**

- `self`: `&Self`
- `other`: `&Self`

**Returns**

`bool`

## Auto trait implementations

- `Forget`
- `Freeze`
- `Move`
- `RefUnwindSafe`
- `Send`
- `Sync`
- `Unpin`
- `UnsafeUnpin`
- `UnwindSafe`

## Blanket implementations

- `Any`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Downcast`
- `DowncastSync`
- `Equivalent<K>`
- `ErasedDestructor`
- `From<T>`
- `Into<U>`
- `IntoEither`
- `Same`
- `ToOwned`
- `TryFrom<U>`
- `TryInto<U>`
