Wind

public struct Wind : Codable, Equatable, Hashable

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

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

    Declaration

    Swift

    public let speed: Double?
  • Wind gust speed (metric: meter/sec, imperial: miles/hour)

    Declaration

    Swift

    public let gust: Double?
  • The wind direction measured in degrees from North

    Declaration

    Swift

    public let degrees: Double?