pub struct Record {Show 16 fields
pub ip_from: IpAddr,
pub ip_to: IpAddr,
pub proxy_type: Option<ProxyType>,
pub country_code: CountryCode,
pub country_name: Option<Box<str>>,
pub region_name: Option<Box<str>>,
pub city_name: Option<Box<str>>,
pub isp: Option<Box<str>>,
pub domain: Option<Box<str>>,
pub usage_type: Option<UsageType>,
pub asn: Option<usize>,
pub as_name: Option<Box<str>>,
pub last_seen: Option<Box<str>>,
pub threat: Option<Box<str>>,
pub provider: Option<Box<str>>,
pub residential: Option<Box<str>>,
}Fields§
§ip_from: IpAddr§ip_to: IpAddr§proxy_type: Option<ProxyType>§country_code: CountryCode§country_name: Option<Box<str>>§region_name: Option<Box<str>>§city_name: Option<Box<str>>§isp: Option<Box<str>>§domain: Option<Box<str>>§usage_type: Option<UsageType>§asn: Option<usize>§as_name: Option<Box<str>>§last_seen: Option<Box<str>>§threat: Option<Box<str>>§provider: Option<Box<str>>§residential: Option<Box<str>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Record
impl<'de> Deserialize<'de> for Record
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more