HPOpenWeather Documentation Beta

Structure Wind

public struct Wind: Codable, Equatable, Hashable 

Type that holds information about wind speed and direction measured in degrees

Wind Wind Equatable Equatable Wind->Equatable Hashable Hashable Wind->Hashable Codable Codable Wind->Codable

Conforms To

Codable
Equatable
Hashable

Properties

speed

public let speed: Double?

The current wind speed depending on the request's unit (metric: meter/second, imperial: miles/hour)

gust

public let gust: Double?

Wind gust speed (metric: meter/sec, imperial: miles/hour)

degrees

public let degrees: Double?

The wind direction measured in degrees from North