Swiftstruct_CoreSpotlight_FoundationModels

struct _CoreSpotlight_FoundationModels.Native.AttributeInfo

Structure

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

Members 10

  1. varstatic var generationSchema: FoundationModels.GenerationSchema { get }
  2. fieldvar attributeDescription: String+0x38
  3. fieldvar attributeName: String+0x0
  4. fieldvar displayName: String+0x10
  5. fieldvar exampleValues: [String]+0x48
  6. fieldvar isMultiValued: Bool+0x30
  7. fieldvar typeString: String+0x20
  8. initinit(FoundationModels.GeneratedContent) throws -> _CoreSpotlight_FoundationModels.Native.AttributeInfo
  9. typealiastypealias PartiallyGenerated = PartiallyGenerated
  10. varvar generatedContent: FoundationModels.GeneratedContent { get }
struct _CoreSpotlight_FoundationModels.Native.AttributeInfo {
    struct PartiallyGenerated {
        var id: FoundationModels.GenerationID
        var attributeName: Swift.String?
        var displayName: Swift.String?
        var typeString: Swift.String?
        var isMultiValued: Swift.Bool?
        var attributeDescription: Swift.String?
        var exampleValues: [Swift.String]?

        init(_: FoundationModels.GeneratedContent) throws
    }
    enum CodingKeys {
        case attributeName
        case displayName
        case typeString
        case isMultiValued
        case attributeDescription
        case exampleValues
    }
    var attributeName: Swift.String
    var displayName: Swift.String
    var typeString: Swift.String
    var isMultiValued: Swift.Bool
    var attributeDescription: Swift.String
    var exampleValues: [Swift.String]

    init(_: FoundationModels.GeneratedContent) throws

    var generatedContent: FoundationModels.GeneratedContent {
        get
    }

    static var generationSchema: FoundationModels.GenerationSchema {
        get
    }
}