pub struct Country {
pub continent: Option<Continent>,
pub country: Option<Country>,
pub registered_country: Option<Country>,
pub represented_country: Option<RepresentedCountry>,
pub traits: Option<Traits>,
}
Expand description
GeoIP2 Country record
Fields§
§continent: Option<Continent>
§country: Option<Country>
§registered_country: Option<Country>
§represented_country: Option<RepresentedCountry>
§traits: Option<Traits>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Country
impl<'de> Deserialize<'de> for Country
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