contains(_:)
BSON.DocumentDecoder.swift:95func contains(_ key: CodingKey) -> Bool func contains(_ key: CodingKey) -> Bool s7BSONABI4BSONO12BSONDecodingE15DocumentDecoderV8containsySbxF What are these?1X5ZTwhere CodingKey:Hashable, CodingKey:RawRepresentable, CodingKey:Sendable, CodingKey.RawValue == Stringimport BSONABIModels the BSON type system and the binary interface of the BSON serialization format.
import BSONDecodingImplements the BSON decoding system.
@frozen struct DocumentDecoder<CodingKey> where CodingKey : Hashable, CodingKey : RawRepresentable, CodingKey : Sendable, CodingKey.RawValue == StringA thin wrapper around a native Swift dictionary providing an efficient decoding interface for a Document.
@frozen enum BSONThe namespace for all BSON types.
@frozen struct BoolA value type whose instances are either true or false.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol RawRepresentable<RawValue>A type that can be converted to and from an associated raw value.
protocol Sendable@frozen struct StringA Unicode string value that is a collection of characters.
init(parsing bson: borrowing BSON.Document) throws Attempts to create a decoder with typed coding keys from this document.
init(parsing bson: borrowing BSON.AnyValue) throws Attempts to load a document decoder from the given variant.
var indexedFields: [CodingKey : BSON.AnyValue] { get }Returns a dictionary of all the indexed fields in the original document. It does not include fields that were ignored per the schema definition.
var single: BSON.FieldDecoder<CodingKey> { get throws }subscript(key: CodingKey) -> BSON.FieldDecoder<CodingKey>? { get } subscript(key: CodingKey) -> BSON.FieldAccessor<CodingKey> { get }