SwiftstructPromptKit
struct GenerativeFunctionsFoundation.GenerationSchema.Choice
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolPromptKit.WireFormatConvertible
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 5
- field
var identifier: String+0x0 - field
var schema: GenerativeFunctionsFoundation.GenerationSchema+0x10 - func
mapStringComponents(@Sendable (String) -> String) -> GenerativeFunctionsFoundation.GenerationSchema.Choice - init
init(identifier: String, schema: GenerativeFunctionsFoundation.GenerationSchema) -> GenerativeFunctionsFoundation.GenerationSchema.Choice - typealias
typealias WireFormat = PromptKit.Promptkit_Wireformat_GenerationSchemaChoice
Header
struct GenerativeFunctionsFoundation.GenerationSchema.Choice { enum CodingKeys { case identifier case schema } var identifier: Swift.String var schema: GenerativeFunctionsFoundation.GenerationSchema init(identifier: Swift.String, schema: GenerativeFunctionsFoundation.GenerationSchema) }