[−][src]Struct ip2proxy::Row
Database record for an IP address.
Use Database::query() to obtain this
from a database.
By convention, - is used for fields where the column is supported but
the cell does not have a value.
Fields
proxy_type: Option<String>Type of proxy, if any.
| Proxy type | Description |
|---|---|
VPN | Anonymizing VPN service |
TOR | Tor exit node |
DCH | Data center, hosting provider, CDN |
PUB | Public proxy |
WEB | Web based proxy |
SES | Search engine spider |
country_short: Option<String>ISO 3166 country code like US.
country_long: Option<String>ISO 3166 country name like United States of America.
region: Option<String>Region or state name like California.
city: Option<String>City name like Los Angeles.
isp: Option<String>Internet service provider or company name, like
APNIC and CloudFlare DNS Resolver Project.
domain: Option<String>Domain name associated with the IP address, if any,
like cloudflare.com.
usage_type: Option<String>Usage type classification.
| Usage type | Description |
|---|---|
COM | Commercial |
ORG | Organization |
GOV | Government |
MIL | Military |
EDU | University, college, school |
LIB | Library |
CDN | Content Delivery Network |
ISP | Fixed Line ISP |
MOB | Mobile ISP |
DCH | Data center, hosting provider, transit |
SES | Search engine spider |
RSV | Reserved |
asn: Option<String>Autonomous System Number (ASN), like 13335.
as_name: Option<String>Autonomous System (AS) name, like CLOUDFLARENET.
last_seen: Option<String>Number of days since the proxy was last seen.
Methods
impl Row[src]
Trait Implementations
impl Clone for Row[src]
impl Debug for Row[src]
impl Default for Row[src]
impl<'de> Deserialize<'de> for Row[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Eq for Row[src]
impl Hash for Row[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<Row> for Row[src]
impl Serialize for Row[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructuralEq for Row[src]
impl StructuralPartialEq for Row[src]
Auto Trait Implementations
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnwindSafe for Row
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,