SwiftstructWeatherCore
struct WeatherCore.Location
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
- protocolWeatherCore.CoalescableLocation
Members 67
- func
static read(from: inout Foundation.Data) throws -> WeatherCore.Location - func
static sanitizedSecondaryName(_: String?, name: String) -> String? - var
static var amsterdam: WeatherCore.Location { get } - var
static var auckland: WeatherCore.Location { get } - var
static var bangkok: WeatherCore.Location { get } - var
static var cairo: WeatherCore.Location { get } - var
static var cupertino: WeatherCore.Location { get } - var
static var current: WeatherCore.Location { get } - var
static var currentLocationID: String { get } - var
static var currentLocationIntentID: String { get } - var
static var dakar: WeatherCore.Location { get } - var
static var istanbul: WeatherCore.Location { get } - var
static var jerusalem: WeatherCore.Location { get } - var
static var karachi: WeatherCore.Location { get } - var
static var lagos: WeatherCore.Location { get } - var
static var lima: WeatherCore.Location { get } - var
static var london: WeatherCore.Location { get } - var
static var losAngeles: WeatherCore.Location { get } - var
static var moscow: WeatherCore.Location { get } - var
static var mumbai: WeatherCore.Location { get } - var
static var newYork: WeatherCore.Location { get } - var
static var osaka: WeatherCore.Location { get } - var
static var oulu: WeatherCore.Location { get } - var
static var paris: WeatherCore.Location { get } - var
static var sanFrancisco: WeatherCore.Location { get } - var
static var santiago: WeatherCore.Location { get } - var
static var saoPaulo: WeatherCore.Location { get } - var
static var seoul: WeatherCore.Location { get } - var
static var sydney: WeatherCore.Location { get } - var
static var tacoma: WeatherCore.Location { get } - var
static var taiwan: WeatherCore.Location { get } - var
static var tokyo: WeatherCore.Location { get } - var
static var utqiagvik: WeatherCore.Location { get } - field
var _clLocation: CLLocation? - field
let identifier: WeatherCore.Location.Identifier+0x0 - field
let lastRefreshDate: Foundation.Date? - field
let preciseName: String? - field
let searchSubtitle: String? - field
let searchTitle: String? - field
let secondaryName: String? - field
let timeZone: Foundation.TimeZone - func
preservingName(String?) -> WeatherCore.Location - func
with(identifier: WeatherCore.Location.Identifier?, timeZone: Foundation.TimeZone?, lastRefreshDate: Foundation.Date?, searchTitle: String?, searchSubtitle: String?, preciseName: String?, secondaryName: String?, clLocation: CLLocation?) -> WeatherCore.Location - func
with(identifier: WeatherCore.Location.Identifier?, timeZone: Foundation.TimeZone?, lastRefreshDate: Foundation.Date?, searchTitle: String?, searchSubtitle: String?, preciseName: String?, secondaryName: String?) -> WeatherCore.Location - func
write(to: inout Foundation.Data) throws -> () - init
init(identifier: WeatherCore.Location.Identifier, timeZone: Foundation.TimeZone, lastRefreshDate: Foundation.Date?, searchTitle: String?, searchSubtitle: String?, preciseName: String?, secondaryName: String?) -> WeatherCore.Location - init
init(identifier: WeatherCore.Location.Identifier, timeZone: Foundation.TimeZone, lastRefreshDate: Foundation.Date?, searchTitle: String?, searchSubtitle: String?, preciseName: String?) -> WeatherCore.Location - init
init(defaultCity: WCDefaultCity) -> WeatherCore.Location? - init
init(locationDataModel: WeatherCore.LocationDataModel) -> WeatherCore.Location? - init
init(id: String, name: String, timeZone: Foundation.TimeZone, coordinate: CLLocationCoordinate2D, lastRefreshDate: Foundation.Date?, searchTitle: String?, searchSubtitle: String?, preciseName: String?, secondaryName: String?) -> WeatherCore.Location - init
init(id: String, name: String, timeZone: Foundation.TimeZone, coordinate: CLLocationCoordinate2D, lastRefreshDate: Foundation.Date?, searchTitle: String?, searchSubtitle: String?, preciseName: String?) -> WeatherCore.Location - typealias
typealias ID = Swift.String - var
var clLocation: CLLocation { get set } - var
var coordinate: CLLocationCoordinate2D { get } - var
var id: String { get } - var
var inlineName: String { get } - var
var intentIdentifier: String { get } - var
var isNotificationSubscriptionCurrentLocationPlaceholder: Bool { get } - var
var kind: WeatherCore.Location.Identifier.Kind { get } - var
var locationID: String? { get } - var
var locationName: String { get } - var
var locationPreciseName: String? { get } - var
var locationSecondaryName: String? { get } - var
var name: String { get } - var
var preciseInlineName: String { get } - var
var sanitizedSecondaryName: String? { get } - var
var shortDescription: TeaFoundation.ShortDescriptionType { get }
Header
struct Location { enum CodingKeys { case id case name case coordinate case timeZone case lastRefreshDate case searchTitle case searchSubtitle case preciseName case secondaryName } struct 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 } let identifier: WeatherCore.Location.Identifier let timeZone: Foundation.TimeZone let lastRefreshDate: Foundation.Date? let searchTitle: Swift.String? let searchSubtitle: Swift.String? let preciseName: Swift.String? let secondaryName: Swift.String? var _clLocation: __C.CLLocation? init(identifier: WeatherCore.Location.Identifier, timeZone: Foundation.TimeZone, lastRefreshDate: Foundation.Date?, searchTitle: Swift.String?, searchSubtitle: Swift.String?, preciseName: Swift.String?, secondaryName: Swift.String?) init(identifier: WeatherCore.Location.Identifier, timeZone: Foundation.TimeZone, lastRefreshDate: Foundation.Date?, searchTitle: Swift.String?, searchSubtitle: Swift.String?, preciseName: Swift.String?) init?(defaultCity: __C.WCDefaultCity) init?(locationDataModel: WeatherCore.LocationDataModel) init(id: Swift.String, name: Swift.String, timeZone: Foundation.TimeZone, coordinate: __C.CLLocationCoordinate2D, lastRefreshDate: Foundation.Date?, searchTitle: Swift.String?, searchSubtitle: Swift.String?, preciseName: Swift.String?, secondaryName: Swift.String?) init(id: Swift.String, name: Swift.String, timeZone: Foundation.TimeZone, coordinate: __C.CLLocationCoordinate2D, lastRefreshDate: Foundation.Date?, searchTitle: Swift.String?, searchSubtitle: Swift.String?, preciseName: Swift.String?) var clLocation: __C.CLLocation { get set } var coordinate: __C.CLLocationCoordinate2D { get } var id: Swift.String { get } var inlineName: Swift.String { get } var intentIdentifier: Swift.String { get } var isNotificationSubscriptionCurrentLocationPlaceholder: Swift.Bool { get } var kind: WeatherCore.Location.Identifier.Kind { get } var locationID: Swift.String? { get } var locationName: Swift.String { get } var locationPreciseName: Swift.String? { get } var locationSecondaryName: Swift.String? { get } var name: Swift.String { get } var preciseInlineName: Swift.String { get } var sanitizedSecondaryName: Swift.String? { get } var shortDescription: any TeaFoundation.ShortDescriptionType { get } func preservingName(_: Swift.String?) -> WeatherCore.Location func with(identifier: WeatherCore.Location.Identifier?, timeZone: Foundation.TimeZone?, lastRefreshDate: Foundation.Date?, searchTitle: Swift.String?, searchSubtitle: Swift.String?, preciseName: Swift.String?, secondaryName: Swift.String?, clLocation: __C.CLLocation?) -> WeatherCore.Location func with(identifier: WeatherCore.Location.Identifier?, timeZone: Foundation.TimeZone?, lastRefreshDate: Foundation.Date?, searchTitle: Swift.String?, searchSubtitle: Swift.String?, preciseName: Swift.String?, secondaryName: Swift.String?) -> WeatherCore.Location func write(to: inout Foundation.Data) throws static var amsterdam: WeatherCore.Location { get } static var auckland: WeatherCore.Location { get } static var bangkok: WeatherCore.Location { get } static var cairo: WeatherCore.Location { get } static var cupertino: WeatherCore.Location { get } static var current: WeatherCore.Location { get } static var currentLocationID: Swift.String { get } static var currentLocationIntentID: Swift.String { get } static var dakar: WeatherCore.Location { get } static var istanbul: WeatherCore.Location { get } static var jerusalem: WeatherCore.Location { get } static var karachi: WeatherCore.Location { get } static var lagos: WeatherCore.Location { get } static var lima: WeatherCore.Location { get } static var london: WeatherCore.Location { get } static var losAngeles: WeatherCore.Location { get } static var moscow: WeatherCore.Location { get } static var mumbai: WeatherCore.Location { get } static var newYork: WeatherCore.Location { get } static var osaka: WeatherCore.Location { get } static var oulu: WeatherCore.Location { get } static var paris: WeatherCore.Location { get } static var sanFrancisco: WeatherCore.Location { get } static var santiago: WeatherCore.Location { get } static var saoPaulo: WeatherCore.Location { get } static var seoul: WeatherCore.Location { get } static var sydney: WeatherCore.Location { get } static var tacoma: WeatherCore.Location { get } static var taiwan: WeatherCore.Location { get } static var tokyo: WeatherCore.Location { get } static var utqiagvik: WeatherCore.Location { get } static func sanitizedSecondaryName(_: Swift.String?, name: Swift.String) -> Swift.String? static func read(from: inout Foundation.Data) throws -> WeatherCore.Location }