Struct maxminddb::geoip2::Country [] [src]

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>,
}

GeoIP2 Country record

Fields

continent: Option<Continent> country: Option<Country> registered_country: Option<Country> represented_country: Option<RepresentedCountry> traits: Option<Traits>

Trait Implementations

impl Debug for Country
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Country
[src]

fn clone(&self) -> Country

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Decodable for Country
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Country, __D::Error>