==(_:_:)
struct.pb.swift:251static func == (lhs: Google_Protobuf_Struct, rhs: Google_Protobuf_Struct) -> Bool
static func == (lhs: Google_Protobuf_Struct, rhs: Google_Protobuf_Struct) -> Bool
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Google_Protobuf_Struct
Struct
represents a structured data value, consisting of fields which map to dynamically typed values. In some languages, Struct
might be supported by a native representation. For example, in scripting languages like JS a struct is represented as an object. The details of that representation are described together with the proto support for the language.
@frozen struct Bool
A value type whose instances are either true
or false
.
init()
init(dictionaryLiteral: (String, Google_Protobuf_Value)...)
Creates a new Google_Protobuf_Struct
from a dictionary of string keys to values of type Google_Protobuf_Value
.
init(fields: [String : Google_Protobuf_Value])
Creates a new Google_Protobuf_Struct
from a dictionary of string keys to values of type Google_Protobuf_Value
.
static let _protobuf_nameMap: _NameMap
static let protoMessageName: String
var fields: Dictionary<String, Google_Protobuf_Value>
Unordered map of dynamically typed values.
var unknownFields: UnknownStorage
subscript(key: String) -> Google_Protobuf_Value? { get set }
Accesses the Google_Protobuf_Value
with the given key for reading and writing.
mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder
func traverse<V>(visitor: inout V) throws where V : Visitor
typealias Key = String
typealias Value = Google_Protobuf_Value