Initializerswift-bson 0.3.1BSONABI
init(_:)
BSON.Key.swift:28init(_ other: some RawRepresentable<String>)
init(_ other: some RawRepresentable<String>)
import BSONABI
Models the BSON type system and the binary interface of the BSON serialization format.
@frozen struct Key
A BSON field key. This type wraps a rawValue
that is guaranteed to never contain null bytes. (Null bytes in a BSON field key can be exploited to perform SQL injection.)
@frozen enum BSON
The namespace for all BSON types.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
@frozen struct String
A Unicode string value that is a collection of characters.
init(_ codingKey: some CodingKey)
init(index: Int)
init(rawValue: String)
init(stringLiteral: String)
var description: String { get }
let rawValue: String
static func < (lhs: `Self`, rhs: `Self`) -> Bool