pub struct IpFullResponse {Show 24 fields
pub query: String,
pub status: String,
pub continent: String,
pub continent_code: String,
pub country: String,
pub country_code: String,
pub region: String,
pub region_name: String,
pub city: String,
pub district: String,
pub zip: String,
pub lat: f32,
pub lon: f32,
pub timezone: String,
pub offset: i32,
pub currency: String,
pub isp: String,
pub org: String,
pub asn: String,
pub as_name: String,
pub reverse: String,
pub mobile: bool,
pub proxy: bool,
pub hosting: bool,
}Expand description
A struct containing the complete response from the Ip Api. We ask the Api to return every field it can.
Fields§
§query: String§status: String§continent: String§continent_code: String§country: String§country_code: String§region: String§region_name: String§city: String§district: String§zip: String§lat: f32§lon: f32§timezone: String§offset: i32§currency: String§isp: String§org: String§asn: String§as_name: String§reverse: String§mobile: bool§proxy: bool§hosting: boolTrait Implementations§
Source§impl Clone for IpFullResponse
impl Clone for IpFullResponse
Source§fn clone(&self) -> IpFullResponse
fn clone(&self) -> IpFullResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IpFullResponse
impl Debug for IpFullResponse
Source§impl<'de> Deserialize<'de> for IpFullResponse
impl<'de> Deserialize<'de> for IpFullResponse
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
Source§impl PartialEq for IpFullResponse
impl PartialEq for IpFullResponse
Source§impl Serialize for IpFullResponse
impl Serialize for IpFullResponse
impl StructuralPartialEq for IpFullResponse
Auto Trait Implementations§
impl Freeze for IpFullResponse
impl RefUnwindSafe for IpFullResponse
impl Send for IpFullResponse
impl Sync for IpFullResponse
impl Unpin for IpFullResponse
impl UnwindSafe for IpFullResponse
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