Initializerswift-bson 0.3.1BSONABI
init(rawValue:)
BSON.Key.swift:13init(rawValue: String)
init(rawValue: 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.
@frozen struct String
A Unicode string value that is a collection of characters.
init(_ other: some RawRepresentable<String>)
init(_ codingKey: some CodingKey)
init(index: Int)
init(stringLiteral: String)
var description: String { get }
let rawValue: String
static func < (lhs: `Self`, rhs: `Self`) -> Bool