Instance Methodswift-bson 0.3.1BSONDecoding->BSONABI
makeIterator
BSON.DocumentDecoder.swift:80func makeIterator() -> Iterator
func makeIterator() -> Iterator
s7BSONABI4BSONO12BSONDecodingE15DocumentDecoderV12makeIteratorAF0G0Vy_x_GyF
What are these?6U5SD
where CodingKey:Hashable, CodingKey:RawRepresentable, CodingKey:Sendable, CodingKey.RawValue == String
import BSONDecoding
import BSONABI
Models the BSON type system and the binary interface of the BSON serialization format.
@frozen struct DocumentDecoder<CodingKey> where CodingKey : Hashable, CodingKey : RawRepresentable, CodingKey : Sendable, CodingKey.RawValue == String
A thin wrapper around a native Swift dictionary providing an efficient decoding interface for a Document
.
@frozen enum BSON
The namespace for all BSON types.
@frozen struct Iterator
protocol Hashable : Equatable
A 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 String
A 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.
subscript(key: CodingKey) -> BSON.FieldDecoder<CodingKey>? { get }
subscript(key: CodingKey) -> BSON.OptionalDecoder<CodingKey> { get }
func contains(_ key: CodingKey) -> Bool
consuming func single() throws -> BSON.FieldDecoder<CodingKey>