pub struct AsnLookup {
pub ip: String,
pub asn: Option<i64>,
pub organization: Option<String>,
pub network: Option<String>,
pub is_datacenter: bool,
pub country: Option<String>,
pub country_code: Option<String>,
}Fields§
§ip: String§asn: Option<i64>§organization: Option<String>§network: Option<String>§is_datacenter: bool§country: Option<String>§country_code: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for AsnLookup
impl<'de> Deserialize<'de> for AsnLookup
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 AsnLookup
impl RefUnwindSafe for AsnLookup
impl Send for AsnLookup
impl Sync for AsnLookup
impl Unpin for AsnLookup
impl UnsafeUnpin for AsnLookup
impl UnwindSafe for AsnLookup
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