SwiftstructToolKit
Representation
struct ToolKit.ModelRepresentation.Representation
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 11
- field
let components: [ToolKit.ModelRepresentation.Representation.Component]+0x8 - field
let level: ToolKit.ModelRepresentationLevel+0x0 - field
let representationComponents: [ToolKit.ModelRepresentationComponent]+0x10 - func
protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoModelRepresentation.Representation - init
init(level: ToolKit.ModelRepresentationLevel, components: [ToolKit.ModelRepresentation.Representation.Component]) -> ToolKit.ModelRepresentation.Representation - init
init(level: ToolKit.ModelRepresentationLevel, representationComponents: [ToolKit.ModelRepresentationComponent]) -> ToolKit.ModelRepresentation.Representation - init
init(level: ToolKit.ModelRepresentationLevel, from: LNDerivedModelRepresentation) -> ToolKit.ModelRepresentation.Representation - init
init(protobuf: ToolKit.ToolKitProtoModelRepresentation.Representation) throws -> ToolKit.ModelRepresentation.Representation - var
var debugDescription: String { get } - var
var textComponents: [ToolKit.ModelRepresentationComponent.TextComponent] { get } - var
var visualComponents: [ToolKit.ModelRepresentationComponent.VisualComponent] { get }
Header
struct ToolKit.ModelRepresentation.Representation { enum CodingKeys { case level case components case representationComponents } struct Component { enum Label { enum CodingKeys { case default case none case custom } enum DefaultCodingKeys {} enum NoneCodingKeys {} enum CustomCodingKeys { case _0 } case custom(Swift.String) case default case none var debugDescription: Swift.String { get } } struct TruncationRules { enum Strategy { case unknown case tail var debugDescription: Swift.String { get } } enum CodingKeys { case limit case strategy } let limit: Swift.Int let strategy: ToolKit.ModelRepresentation.Representation.Component.TruncationRules.Strategy init(limit: Swift.Int, strategy: ToolKit.ModelRepresentation.Representation.Component.TruncationRules.Strategy) var debugDescription: Swift.String { get } } enum CodingKeys { case propertyIdentifiers case label case truncationRules case overrideValue } let propertyIdentifiers: [Swift.String] let label: ToolKit.ModelRepresentation.Representation.Component.Label let truncationRules: ToolKit.ModelRepresentation.Representation.Component.TruncationRules? let overrideValue: Swift.String? init(propertyIdentifiers: [Swift.String], label: ToolKit.ModelRepresentation.Representation.Component.Label, truncationRules: ToolKit.ModelRepresentation.Representation.Component.TruncationRules?, overrideValue: Swift.String?) var debugDescription: Swift.String { get } } let level: ToolKit.ModelRepresentationLevel let components: [ToolKit.ModelRepresentation.Representation.Component] let representationComponents: [ToolKit.ModelRepresentationComponent] init(level: ToolKit.ModelRepresentationLevel, components: [ToolKit.ModelRepresentation.Representation.Component]) init(level: ToolKit.ModelRepresentationLevel, representationComponents: [ToolKit.ModelRepresentationComponent]) init(level: ToolKit.ModelRepresentationLevel, from: __C.LNDerivedModelRepresentation) init(protobuf: ToolKit.ToolKitProtoModelRepresentation.Representation) throws var debugDescription: Swift.String { get } var textComponents: [ToolKit.ModelRepresentationComponent.TextComponent] { get } var visualComponents: [ToolKit.ModelRepresentationComponent.VisualComponent] { get } func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoModelRepresentation.Representation }