Structureswift-protobuf 1.29.0SwiftProtobuf
_ProtobufMessageMap
SwiftProtobuf Internal: Support for Encoding/Decoding.
struct _ProtobufMessageMap<KeyType, ValueType> where KeyType : MapKeyType, ValueType : Hashable, ValueType : Message
SwiftProtobuf Internal: Support for Encoding/Decoding.
struct _ProtobufMessageMap<KeyType, ValueType> where KeyType : MapKeyType, ValueType : Hashable, ValueType : Message
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
@preconcurrency protocol MapKeyType : FieldType
Marker protocol for types that can be used as map keys
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
@preconcurrency protocol Message : CustomDebugStringConvertible, Sendable
The protocol which all generated protobuf messages implement. Message
is the protocol type you should use whenever you need an argument or variable which holds “some message”.
typealias BaseType = [Key : Value]
typealias Key = KeyType.BaseType
typealias Value = ValueType