SwiftenumWeatherCore

enum WeatherCore.CountryCode

Structure

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

Members 6

  1. funcstatic read(from: inout Foundation.Data) throws -> WeatherCore.CountryCode
  2. casecase resolved(String)
  3. casecase unresolvable
  4. funcwrite(to: inout Foundation.Data) throws -> ()
  5. varvar shortDescription: TeaFoundation.ShortDescriptionType { get }
  6. varvar value: String? { get }
enum CountryCode {
    enum CodingKeys {
        case resolved
        case unresolvable
    }
    enum ResolvedCodingKeys {
        case _0
    }
    enum UnresolvableCodingKeys {}
    case resolved(Swift.String)
    case unresolvable

    var shortDescription: any TeaFoundation.ShortDescriptionType {
        get
    }
    var value: Swift.String? {
        get
    }

    func write(to: inout Foundation.Data) throws

    static func read(from: inout Foundation.Data) throws -> WeatherCore.CountryCode
}