ProxyType
12345678910111213#[non_exhaustive]pub enum ProxyType { Anonymous, Aol, Blackberry, Corporate, Edu, Hosting, Public, Transparent, Unknown, Other(String),}Client proxy type.
Defaults to Unknown when an IP address is not known to be a proxy or VPN.
Variants
A type of proxy or VPN that is known, but not in the above list of variants.
This typically indicates that the geolocation database contains a proxy type that did not exist when this crate was published.
0: String
Trait implementations
impl Clone for ProxyType
impl Debug for ProxyType
impl Deserialize for ProxyType
deserialize
View sourcewhere __D: Deserializer<'de>,Parameters
- __deserializer: __D
Returns
_serde::__private228::Result<Self, __D::Error>
impl PartialEq for ProxyType
impl Serialize for ProxyType
serialize
View sourcewhere __S: Serializer,Parameters
- self: &Self
- __serializer: __S
Returns
_serde::__private228::Result<__S::Ok, __S::Error>