AnyBaggageKey
public struct AnyBaggageKey
extension AnyBaggageKey: Hashable
A type-erased BaggageKey
used when iterating through the Baggage
using its forEach
method.
-
The key’s type represented erased to an
Any.Type
.Declaration
Swift
public let keyType: Any.Type
-
A human-readable String representation of the underlying key. If no explicit name has been set on the wrapped key the type name is used.
Declaration
Swift
public var name: String { get }
-
Declaration
Swift
public static func == (lhs: AnyBaggageKey, rhs: AnyBaggageKey) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)