SwiftstructCoreSpotlightAgenticCore

struct CoreSpotlightAgenticCore.ContentType

Structure

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

Members 6

  1. varstatic var generationSchema: FoundationModels.GenerationSchema { get }
  2. fieldvar contentTypes: [String]+0x0
  3. initinit(contentTypes: [String]) -> CoreSpotlightAgenticCore.ContentType
  4. initinit(FoundationModels.GeneratedContent) throws -> CoreSpotlightAgenticCore.ContentType
  5. typealiastypealias PartiallyGenerated = PartiallyGenerated
  6. varvar generatedContent: FoundationModels.GeneratedContent { get }
struct ContentType {
    struct PartiallyGenerated {
        var id: FoundationModels.GenerationID
        var contentTypes: [Swift.String]?

        init(_: FoundationModels.GeneratedContent) throws
    }
    enum CodingKeys {
        case contentTypes
    }
    var contentTypes: [Swift.String]

    init(contentTypes: [Swift.String])
    init(_: FoundationModels.GeneratedContent) throws

    var generatedContent: FoundationModels.GeneratedContent {
        get
    }

    static var generationSchema: FoundationModels.GenerationSchema {
        get
    }
}