SwiftstructCoreSpotlightAgenticCore
struct CoreSpotlightAgenticCore.ContentType
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolFoundationModels.Generable
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
Members 6
- var
static var generationSchema: FoundationModels.GenerationSchema { get } - field
var contentTypes: [String]+0x0 - init
init(contentTypes: [String]) -> CoreSpotlightAgenticCore.ContentType - init
init(FoundationModels.GeneratedContent) throws -> CoreSpotlightAgenticCore.ContentType - typealias
typealias PartiallyGenerated = PartiallyGenerated - var
var generatedContent: FoundationModels.GeneratedContent { get }
Header
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 } }