pub struct IpData {
pub ip: String,
pub ip_type: String,
pub hostname: Option<String>,
pub connection_type: Option<String>,
pub location: Location,
pub network: Network,
pub cloudflare: Cloudflare,
}Expand description
Full IP data including geolocation
Fields§
§ip: String§ip_type: String§hostname: Option<String>§connection_type: Option<String>§location: Location§network: Network§cloudflare: CloudflareTrait Implementations§
Source§impl<'de> Deserialize<'de> for IpData
impl<'de> Deserialize<'de> for IpData
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 IpData
impl RefUnwindSafe for IpData
impl Send for IpData
impl Sync for IpData
impl Unpin for IpData
impl UnwindSafe for IpData
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