StructureSwift
CodingUserInfoKey
A user-defined key for providing context during encoding and decoding.
struct CodingUserInfoKey
A user-defined key for providing context during encoding and decoding.
struct CodingUserInfoKey
typealias RawValue
The raw type that can be used to represent all values of the conforming type.
init?(rawValue: String)
Creates a new instance with the given raw value.
static let actorSystemKey: CodingUserInfoKey
Key which is required to be set on a Decoder
’s userInfo
while attempting to init(from:)
a DistributedActor
. The stored value under this key must conform to DistributedActorSystem
.
var hashValue: Int
The key’s hash value.
var hashValue: Int
let rawValue: String
The key’s string value.
func hash(into: inout Hasher)
Hashes the essential components of this value by feeding them into the given hasher.
static func != (Self, Self) -> Bool
static func == (CodingUserInfoKey, CodingUserInfoKey) -> Bool
Returns a Boolean value indicating whether the given keys are equal.