SwiftstructWeatherCore
struct WeatherCore.Location.Identifier
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.CustomStringConvertible
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
- protocolSwift.Identifiable
- protocolTeaFoundation.BinaryDecodable
- protocolTeaFoundation.BinaryEncodable
- protocolTeaFoundation.ShortDescribable
Members 12
- func
static read(from: inout Foundation.Data) throws -> WeatherCore.Location.Identifier - field
let coordinate: CLLocationCoordinate2D+0x20 - field
let id: String+0x0 - field
let kind: WeatherCore.Location.Identifier.Kind+0x30 - field
let name: String+0x10 - field
let uniqueID: String+0x38 - func
with(id: String?, name: String?, coordinate: CLLocationCoordinate2D?) -> WeatherCore.Location.Identifier - func
write(to: inout Foundation.Data) throws -> () - init
init(id: String, name: String, coordinate: CLLocationCoordinate2D) -> WeatherCore.Location.Identifier - typealias
typealias ID = Swift.String - var
var intentIdentifier: String { get } - var
var shortDescription: TeaFoundation.ShortDescriptionType { get }
Header
struct WeatherCore.Location.Identifier { enum Kind { case saved case current } enum CodingKeys { case id case name case coordinate case kind case uniqueID } let id: Swift.String let name: Swift.String let coordinate: __C.CLLocationCoordinate2D let kind: WeatherCore.Location.Identifier.Kind let uniqueID: Swift.String init(id: Swift.String, name: Swift.String, coordinate: __C.CLLocationCoordinate2D) var intentIdentifier: Swift.String { get } var shortDescription: any TeaFoundation.ShortDescriptionType { get } func with(id: Swift.String?, name: Swift.String?, coordinate: __C.CLLocationCoordinate2D?) -> WeatherCore.Location.Identifier func write(to: inout Foundation.Data) throws static func read(from: inout Foundation.Data) throws -> WeatherCore.Location.Identifier }