Initializerswift-bson 0.3.1BSONDecoding->BSONABI
init(key:value:)
BSON.OptionalDecoder.swift:16init(key: Key, value: BSON.AnyValue?)
init(key: Key, value: BSON.AnyValue?)
s7BSONABI4BSONO12BSONDecodingE15OptionalDecoderV3key5valueAFy_xGx_AC8AnyValueOSgtcfc
What are these?9CEOI
import BSONDecoding
import BSONABI
Models the BSON type system and the binary interface of the BSON serialization format.
@frozen struct OptionalDecoder<Key> where Key : Sendable
A field that may or may not exist in a document. This type is the return value of Dictionary
’s non-optional subscript, and is useful for obtaining structured diagnostics for “key-not-found” scenarios.
@frozen enum BSON
The namespace for all BSON types.
@frozen enum AnyValue
Any BSON value.
let key: Key
let value: BSON.AnyValue?