SwiftstructWeatherKit

struct WeatherKit.UVIndex

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 3

  1. fieldvar category: WeatherKit.UVIndex.ExposureCategory+0x8
  2. fieldvar value: Int+0x0
  3. initinit(value: Int, category: WeatherKit.UVIndex.ExposureCategory) -> WeatherKit.UVIndex
struct UVIndex {
    enum ExposureCategory {
        case low
        case moderate
        case high
        case veryHigh
        case extreme

        var accessibilityDescription: Swift.String {
            get
        }
        var description: Swift.String {
            get
        }
        var rangeValue: Swift.ClosedRange<Swift.Int> {
            get
        }

        static func < (_: WeatherKit.UVIndex.ExposureCategory, _: WeatherKit.UVIndex.ExposureCategory) -> Swift.Bool
    }
    enum CodingKeys {
        case value
        case category
    }
    var value: Swift.Int
    var category: WeatherKit.UVIndex.ExposureCategory

    init(value: Swift.Int, category: WeatherKit.UVIndex.ExposureCategory)
}