SwiftstructWeatherCore
LocationModelData
struct WeatherCore.LocationModelData
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolTeaFoundation.BinaryDecodable
- protocolTeaFoundation.BinaryEncodable
Members 5
- func
static read(from: inout Foundation.Data) throws -> WeatherCore.LocationModelData - field
let isPredictedLocation: Bool - field
let locationOfInterest: WeatherCore.LocationOfInterest? - func
write(to: inout Foundation.Data) throws -> () - init
init(locationOfInterest: WeatherCore.LocationOfInterest?, isPredictedLocation: Bool) -> WeatherCore.LocationModelData
Header
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 }