pub struct Record {
Show 16 fields pub ip_from: IpAddr, pub ip_to: IpAddr, pub proxy_type: Option<ProxyType>, pub country_code: RecordValue, pub country_name: Option<RecordValue>, pub region_name: Option<RecordValue>, pub city_name: Option<RecordValue>, pub isp: Option<RecordValue>, pub domain: Option<RecordValue>, pub usage_type: Option<UsageType>, pub asn: Option<RecordValue>, pub as_name: Option<RecordValue>, pub last_seen: Option<RecordValue>, pub threat: Option<RecordValue>, pub provider: Option<RecordValue>, pub residential: Option<RecordValue>,
}

Fields

ip_from: IpAddrip_to: IpAddrproxy_type: Option<ProxyType>country_code: RecordValuecountry_name: Option<RecordValue>region_name: Option<RecordValue>city_name: Option<RecordValue>isp: Option<RecordValue>domain: Option<RecordValue>usage_type: Option<UsageType>asn: Option<RecordValue>as_name: Option<RecordValue>last_seen: Option<RecordValue>threat: Option<RecordValue>provider: Option<RecordValue>residential: Option<RecordValue>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Applies the Compat adapter by value. Read more

Applies the Compat adapter by shared reference. Read more

Applies the Compat adapter by mutable reference. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.