Struct ipinfodb::GeoInfo
[−]
[src]
pub struct GeoInfo { pub ip_address: String, pub country_code: String, pub country_name: String, pub region_name: String, pub city_name: String, pub zip_code: String, pub latitude: String, pub longitude: String, pub time_zone: String, }
Fields
ip_address: String
country_code: String
country_name: String
region_name: String
city_name: String
zip_code: String
latitude: String
longitude: String
time_zone: String
Trait Implementations
impl Debug for GeoInfo
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for GeoInfo
[src]
fn clone(&self) -> GeoInfo
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for GeoInfo
[src]
fn eq(&self, __arg_0: &GeoInfo) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GeoInfo) -> bool
[src]
This method tests for !=
.