SwiftstructWeatherCore

struct WeatherCore.LocationModelData

Structure

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

Members 5

  1. funcstatic read(from: inout Foundation.Data) throws -> WeatherCore.LocationModelData
  2. fieldlet isPredictedLocation: Bool
  3. fieldlet locationOfInterest: WeatherCore.LocationOfInterest?
  4. funcwrite(to: inout Foundation.Data) throws -> ()
  5. initinit(locationOfInterest: WeatherCore.LocationOfInterest?, isPredictedLocation: Bool) -> WeatherCore.LocationModelData
struct LocationModelData {
    enum CodingKeys {
        case locationOfInterest
        case isPredictedLocation
    }
    let locationOfInterest: WeatherCore.LocationOfInterest?
    let isPredictedLocation: Swift.Bool

    init(locationOfInterest: WeatherCore.LocationOfInterest?, isPredictedLocation: Swift.Bool)

    func write(to: inout Foundation.Data) throws

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