pub struct IpInfo {
pub ip: String,
pub isp: Option<String>,
pub asn: Option<String>,
pub suspicious_factors: SuspiciousFactors,
pub location: Location,
}Fields§
§ip: String§isp: Option<String>§asn: Option<String>§suspicious_factors: SuspiciousFactors§location: LocationTrait Implementations§
Source§impl<'de> Deserialize<'de> for IpInfo
impl<'de> Deserialize<'de> for IpInfo
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 IpInfo
impl RefUnwindSafe for IpInfo
impl Send for IpInfo
impl Sync for IpInfo
impl Unpin for IpInfo
impl UnsafeUnpin for IpInfo
impl UnwindSafe for IpInfo
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