SwiftstructSnippetKit
ActionProperty
struct SnippetKit.ActionProperty
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSnippetKit.ProtobufBuilder
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 15
- field
let proto: SnippetKit._ProtoActionProperty - func
asActionProperty() -> SnippetKit.ActionProperty - func
command(for: SnippetKit._ProtoIdiom) -> SnippetKit.Command? - func
description(redacted: Bool) -> String - func
jsonString(redacted: Bool) throws -> String - func
text(for: SnippetKit._ProtoIdiom) -> SnippetKit.TextElement? - init
init(proto: SnippetKit._ProtoActionProperty) -> SnippetKit.ActionProperty - init
init<A where A: Sequence, A.Element == SnippetKit.ActionElementConvertible>(_: A, actionName: String) -> SnippetKit.ActionProperty - init
init(_: SnippetKit.ActionElementConvertible..., actionName: String) -> SnippetKit.ActionProperty - init
init<A where A: Sequence, A.Element == SnippetKit.ActionElementConvertible>(A) -> SnippetKit.ActionProperty - init
init(SnippetKit.ActionElementConvertible...) -> SnippetKit.ActionProperty - typealias
typealias Proto = SnippetKit._ProtoActionProperty - var
var actionName: String { get } - var
var allActionElements: [SnippetKit.ActionElement] { get } - var
var redactedProto: SnippetKit._ProtoActionProperty { get }
Header
struct ActionProperty { let proto: SnippetKit._ProtoActionProperty init(proto: SnippetKit._ProtoActionProperty) init<A>(_: A, actionName: Swift.String) where A: Swift.Sequence, A.Element == any SnippetKit.ActionElementConvertible init(_: any SnippetKit.ActionElementConvertible..., actionName: Swift.String) init<A>(_: A) where A: Swift.Sequence, A.Element == any SnippetKit.ActionElementConvertible init(_: any SnippetKit.ActionElementConvertible...) var actionName: Swift.String { get } var allActionElements: [SnippetKit.ActionElement] { get } var redactedProto: SnippetKit._ProtoActionProperty { get } func asActionProperty() -> SnippetKit.ActionProperty func jsonString(redacted: Swift.Bool) throws -> Swift.String func description(redacted: Swift.Bool) -> Swift.String func text(for: SnippetKit._ProtoIdiom) -> SnippetKit.TextElement? func command(for: SnippetKit._ProtoIdiom) -> SnippetKit.Command? }