pub struct IpDetails {Show 23 fields
pub ip: String,
pub hostname: Option<String>,
pub city: String,
pub region: String,
pub country: String,
pub country_name: Option<String>,
pub is_eu: Option<bool>,
pub country_flag: Option<CountryFlag>,
pub country_flag_url: Option<String>,
pub country_currency: Option<CountryCurrency>,
pub continent: Option<Continent>,
pub loc: String,
pub org: Option<String>,
pub postal: Option<String>,
pub timezone: Option<String>,
pub asn: Option<AsnDetails>,
pub company: Option<CompanyDetails>,
pub carrier: Option<CarrierDetails>,
pub privacy: Option<PrivacyDetails>,
pub abuse: Option<AbuseDetails>,
pub domains: Option<DomainsDetails>,
pub bogon: Option<bool>,
pub extra: HashMap<String, Value>,
}
Expand description
IP address lookup details.
Fields§
§ip: String
The IP address.
hostname: Option<String>
The reverse DNS lookup hostname of the IP address.
city: String
The city for the IP address.
region: String
The region for the IP address.
country: String
The country for the IP address.
country_name: Option<String>
The countryname for the IP address.
is_eu: Option<bool>
EU status of the country.
country_flag: Option<CountryFlag>
Flag and unicode of the country.
country_flag_url: Option<String>
Link of the Flag of country.
country_currency: Option<CountryCurrency>
Code and symbol of the country’s currency.
continent: Option<Continent>
Code and name of the continent.
loc: String
The geographical location for the IP address.
org: Option<String>
The organization for the IP address.
postal: Option<String>
The postal code for the IP address.
timezone: Option<String>
The timezone for the IP address.
asn: Option<AsnDetails>
The AS details the IP address is part of.
company: Option<CompanyDetails>
The company details that owns this IP address.
carrier: Option<CarrierDetails>
The carrier details that owns this mobile IP address.
privacy: Option<PrivacyDetails>
The privacy details for the IP address.
abuse: Option<AbuseDetails>
The abuse details for the IP address.
domains: Option<DomainsDetails>
The hosted domains details for the IP address.
bogon: Option<bool>
If the IP Address is Bogon
extra: HashMap<String, Value>