HPOpenWeather Documentation Beta

Structure City

public struct City: Codable, Equatable, Hashable 

Type that holds information about the reqeuest's nearest city

City City Equatable Equatable City->Equatable Hashable Hashable City->Hashable Codable Codable City->Codable

Conforms To

Codable
Equatable
Hashable

Properties

id

public let id: Int

The ID assigned to the city

name

public let name: String

The name of the city

location

public let location: CLLocationCoordinate2D

The location of the city

country​Code

public let countryCode: String

The country code of the city