struct GeoIP2::Model::City
Defined in:
geoip2/model.cr
city : Record::City
city,
location : Record::Location
location,
most_specific_subdivision : Record::Subdivision
most_specific_subdivision,
postal : Record::Postal
postal,
subdivisions : Array(Record::Subdivision)
subdivisions
continent : Record::Continent
continent,
country : Record::Country
country,
maxmind : Record::Maxmind
maxmind,
registered_country : Record::RegisteredCountry
registered_country,
represented_country : Record::RepresentedCountry
represented_country,
traits : Record::Traits
traits
ip_address : String
ip_address,
locales : Array(String)
locales,
raw : MaxMindDB::Any
raw
new(raw : MaxMindDB::Any, locales : Array(String), ip_address : String)
new