SwiftenumToolKit
PrimitiveValue
enum ToolKit.TypedValue.PrimitiveValue
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 32
- case
case app(ToolKit.TypedValue.PrimitiveValue.AppValue) - case
case attributedString(Foundation.AttributedString) - case
case bool(Bool) - case
case character(Character) - case
case currencyAmount(ToolKit.TypedValue.PrimitiveValue.CurrencyAmountValue) - case
case date(Foundation.Date) - case
case dateComponents(Foundation.DateComponents) - case
case dateInterval(Foundation.DateInterval) - case
case decimal(NSDecimal) - case
case duration(Duration) - case
case file(ToolKit.TypedValue.PrimitiveValue.FileValue) - case
case int(Int) - case
case intentsFile(ToolKit.SecureCodable<INFile>) - case
case measurement(Foundation.Measurement<NSUnit>) - case
case none - case
case number(Double) - case
case paymentMethod(ToolKit.TypedValue.PrimitiveValue.PaymentMethodValue) - case
case person(ToolKit.TypedValue.PrimitiveValue.PersonValue) - case
case personNameComponents(Foundation.PersonNameComponents) - case
case pixelBuffer(ToolKit.TypedValue.PrimitiveValue.PixelBufferValue) - case
case placemark(ToolKit.TypedValue.PrimitiveValue.PlacemarkValue) - case
case recurrenceRule(Foundation.Calendar.RecurrenceRule) - case
case searchableItem(ToolKit.SecureCodable<CSSearchableItem>) - case
case shortcut(ToolKit.TypedValue.PrimitiveValue.Shortcut) - case
case string(String) - case
case url(Foundation.URL) - func
protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue - init
init(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue) throws -> ToolKit.TypedValue.PrimitiveValue - typealias
typealias ProtobufType = ToolKit.ToolKitProtoTypedValue.PrimitiveValue - var
var debugDescription: String { get } - var
var displayRepresentation: ToolKit.DisplayRepresentation? { get } - var
var primitiveType: ToolKit.TypeIdentifier.PrimitiveTypeIdentifier { get }
Header
enum ToolKit.TypedValue.PrimitiveValue { struct AppValue { enum CodingKeys { case bundleIdentifier case displayRepresentation case provenance } let bundleIdentifier: Swift.String let displayRepresentation: ToolKit.DisplayRepresentation? var provenance: ToolKit.TypedValue.Provenance init(bundleIdentifier: Swift.String, displayRepresentation: ToolKit.DisplayRepresentation?, provenance: ToolKit.TypedValue.Provenance?) init(bundleIdentifier: Swift.String, displayRepresentation: ToolKit.DisplayRepresentation?) init(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue.App) throws func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue.App } struct Shortcut { enum CodingKeys { case identifier case displayRepresentation } let identifier: Swift.String let displayRepresentation: ToolKit.DisplayRepresentation? init(identifier: Swift.String, displayRepresentation: ToolKit.DisplayRepresentation?) init(identifier: Swift.String) init(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue.Shortcut) throws func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue.Shortcut } struct PlacemarkValue { enum Type { enum CodingKeys { case currentLocation case placemark } enum CurrentLocationCodingKeys {} enum PlacemarkCodingKeys { case _0 } case placemark(ToolKit.SecureCodable<__C.CLPlacemark>) case currentLocation } enum CodingKeys { case provenance case displayRepresentation case type } var provenance: ToolKit.TypedValue.Provenance let displayRepresentation: ToolKit.DisplayRepresentation? let type: ToolKit.TypedValue.PrimitiveValue.PlacemarkValue.Type init(codablePlacemark: ToolKit.SecureCodable<__C.CLPlacemark>, displayRepresentation: ToolKit.DisplayRepresentation?, provenance: ToolKit.TypedValue.Provenance?) init(type: ToolKit.TypedValue.PrimitiveValue.PlacemarkValue.Type, displayRepresentation: ToolKit.DisplayRepresentation?, provenance: ToolKit.TypedValue.Provenance?) init(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue.Placemark) throws init(placemark: __C.CLPlacemark, provenance: ToolKit.TypedValue.Provenance?) init(placemark: __C.CLPlacemark) var placemark: __C.CLPlacemark { get } func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue.Placemark static var currentLocation: ToolKit.TypedValue.PrimitiveValue.PlacemarkValue { get } } struct PersonValue { enum CodingKeys { case displayRepresentation case provenance case codablePerson } let displayRepresentation: ToolKit.DisplayRepresentation? var provenance: ToolKit.TypedValue.Provenance let codablePerson: ToolKit.SecureCodable<__C.INPerson> init(person: __C.INPerson, provenance: ToolKit.TypedValue.Provenance?) init(person: __C.INPerson, displayRepresentation: ToolKit.DisplayRepresentation?, provenance: ToolKit.TypedValue.Provenance?) init(person: __C.INPerson) init(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue.Person) throws var description: Swift.String { get } var person: __C.INPerson { get } func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue.Person } struct CurrencyAmountValue { enum CodingKeys { case amount case currencyIdentifier case displayRepresentation } let amount: __C.NSDecimal let currencyIdentifier: Swift.String let displayRepresentation: ToolKit.DisplayRepresentation? init(amount: __C.NSDecimal, currencyIdentifier: Swift.String, displayRepresentation: ToolKit.DisplayRepresentation?) init(amount: __C.NSDecimal, currencyIdentifier: Swift.String) init(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue.CurrencyAmount) throws func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue.CurrencyAmount } struct PaymentMethodValue { enum Type { enum CodingKeys { case unknown case checking case savings case brokerage case debit case credit case prepaid case store case applePay } enum UnknownCodingKeys {} enum CheckingCodingKeys {} enum SavingsCodingKeys {} enum BrokerageCodingKeys {} enum DebitCodingKeys {} enum CreditCodingKeys {} enum PrepaidCodingKeys {} enum StoreCodingKeys {} enum ApplePayCodingKeys {} case unknown case checking case savings case brokerage case debit case credit case prepaid case store case applePay init(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue.PaymentMethod.TypeEnum) throws var intentsType: __C.INPaymentMethodType { get } func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue.PaymentMethod.TypeEnum } enum CodingKeys { case type case identificationHint case displayRepresentation } let type: ToolKit.TypedValue.PrimitiveValue.PaymentMethodValue.Type let identificationHint: Swift.String? let displayRepresentation: ToolKit.DisplayRepresentation? init(type: ToolKit.TypedValue.PrimitiveValue.PaymentMethodValue.Type, identificationHint: Swift.String?, displayRepresentation: ToolKit.DisplayRepresentation?) init(type: ToolKit.TypedValue.PrimitiveValue.PaymentMethodValue.Type, identificationHint: Swift.String?) init(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue.PaymentMethod) throws func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue.PaymentMethod } struct FileValue { enum CodingKeys { case displayRepresentation case codableFile case fileURL case provenance } let displayRepresentation: ToolKit.DisplayRepresentation? let codableFile: ToolKit.SecureCodable<__C.INFile> var provenance: ToolKit.TypedValue.Provenance init(file: __C.INFile, provenance: ToolKit.TypedValue.Provenance?) init(file: __C.INFile, displayRepresentation: ToolKit.DisplayRepresentation?, provenance: ToolKit.TypedValue.Provenance?) init(file: __C.INFile, displayRepresentation: ToolKit.DisplayRepresentation?) init(file: __C.INFile) init(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue.File) throws var file: __C.INFile { get } func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue.File } struct PixelBufferValue { enum CodingError { case sidebandRequired case nilPixelBuffer } let pixelBuffer: CoreVideo.CVReadOnlyPixelBuffer? init(pixelBuffer: CoreVideo.CVReadOnlyPixelBuffer?) } enum CodingKeys { case none case bool case int case number case decimal case string case character case date case dateComponents case url case attributedString case measurement case currencyAmount case paymentMethod case placemark case person case file case app case searchableItem case shortcut case recurrenceRule case dateInterval case duration case personNameComponents case pixelBuffer case intentsFile } enum NoneCodingKeys {} enum BoolCodingKeys { case _0 } enum IntCodingKeys { case _0 } enum NumberCodingKeys { case _0 } enum DecimalCodingKeys { case _0 } enum StringCodingKeys { case _0 } enum CharacterCodingKeys { case _0 } enum DateCodingKeys { case _0 } enum DateComponentsCodingKeys { case _0 } enum UrlCodingKeys { case _0 } enum AttributedStringCodingKeys { case _0 } enum MeasurementCodingKeys { case _0 } enum CurrencyAmountCodingKeys { case _0 } enum PaymentMethodCodingKeys { case _0 } enum PlacemarkCodingKeys { case _0 } enum PersonCodingKeys { case _0 } enum FileCodingKeys { case _0 } enum AppCodingKeys { case _0 } enum SearchableItemCodingKeys { case _0 } enum ShortcutCodingKeys { case _0 } enum RecurrenceRuleCodingKeys { case _0 } enum DateIntervalCodingKeys { case _0 } enum DurationCodingKeys { case _0 } enum PersonNameComponentsCodingKeys { case _0 } enum PixelBufferCodingKeys { case _0 } enum IntentsFileCodingKeys { case _0 } case bool(Swift.Bool) case int(Swift.Int) case number(Swift.Double) case decimal(__C.NSDecimal) case string(Swift.String) case character(Swift.Character) case date(Foundation.Date) case dateComponents(Foundation.DateComponents) case url(Foundation.URL) case attributedString(Foundation.AttributedString) case measurement(Foundation.Measurement<__C.NSUnit>) case currencyAmount(ToolKit.TypedValue.PrimitiveValue.CurrencyAmountValue) case paymentMethod(ToolKit.TypedValue.PrimitiveValue.PaymentMethodValue) case placemark(ToolKit.TypedValue.PrimitiveValue.PlacemarkValue) case person(ToolKit.TypedValue.PrimitiveValue.PersonValue) case file(ToolKit.TypedValue.PrimitiveValue.FileValue) case app(ToolKit.TypedValue.PrimitiveValue.AppValue) case searchableItem(ToolKit.SecureCodable<__C.CSSearchableItem>) case shortcut(ToolKit.TypedValue.PrimitiveValue.Shortcut) case recurrenceRule(Foundation.Calendar.RecurrenceRule) case dateInterval(Foundation.DateInterval) case duration(Swift.Duration) case personNameComponents(Foundation.PersonNameComponents) case pixelBuffer(ToolKit.TypedValue.PrimitiveValue.PixelBufferValue) case intentsFile(ToolKit.SecureCodable<__C.INFile>) case none init(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue) throws var debugDescription: Swift.String { get } var displayRepresentation: ToolKit.DisplayRepresentation? { get } var primitiveType: ToolKit.TypeIdentifier.PrimitiveTypeIdentifier { get } func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue }