SwiftstructCoreSpotlightAgenticCore

struct CoreSpotlightAgenticCore.Native.HelpResult

Structure

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

Members 8

  1. varstatic var generationSchema: FoundationModels.GenerationSchema { get }
  2. fieldvar availableTopics: [String]+0x30
  3. fieldvar content: CoreSpotlightAgenticCore.Help.Content+0x10
  4. fieldvar examples: [CoreSpotlightAgenticCore.Native.HelpExample]+0x38
  5. fieldvar topic: String+0x0
  6. initinit(FoundationModels.GeneratedContent) throws -> CoreSpotlightAgenticCore.Native.HelpResult
  7. typealiastypealias PartiallyGenerated = PartiallyGenerated
  8. varvar generatedContent: FoundationModels.GeneratedContent { get }
struct CoreSpotlightAgenticCore.Native.HelpResult {
    struct PartiallyGenerated {
        var id: FoundationModels.GenerationID
        var topic: Swift.String?
        var content: CoreSpotlightAgenticCore.Help.Content.PartiallyGenerated?
        var availableTopics: [Swift.String]?
        var examples: [CoreSpotlightAgenticCore.Native.HelpExample.PartiallyGenerated]?

        init(_: FoundationModels.GeneratedContent) throws
    }
    enum CodingKeys {
        case topic
        case content
        case availableTopics
        case examples
    }
    var topic: Swift.String
    var content: CoreSpotlightAgenticCore.Help.Content
    var availableTopics: [Swift.String]
    var examples: [CoreSpotlightAgenticCore.Native.HelpExample]

    init(_: FoundationModels.GeneratedContent) throws

    var generatedContent: FoundationModels.GeneratedContent {
        get
    }

    static var generationSchema: FoundationModels.GenerationSchema {
        get
    }
}