Instance Subscriptswift-bson 0.3.1BSONEncoding->BSONABI
subscript(_:)
BSON.DocumentEncoder.swift:27subscript(key: CodingKey) -> BSON.FieldEncoder { get set }
subscript(key: CodingKey) -> BSON.FieldEncoder { get set }
s7BSONABI4BSONO12BSONEncodingE15DocumentEncoderVyAC05FieldE0Vxcip
What are these?2RHD4
where CodingKey:RawRepresentable, CodingKey.RawValue == String
import BSONEncoding
import BSONABI
Models the BSON type system and the binary interface of the BSON serialization format.
@frozen struct DocumentEncoder<CodingKey> where CodingKey : RawRepresentable, CodingKey.RawValue == String
@frozen enum BSON
The namespace for all BSON types.
@frozen struct FieldEncoder
A type that can serialize any BSON container element.
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.
static var frame: BSON.DocumentFrame { get }
subscript<Value>(key: CodingKey) -> Value? where Value : BSONEncodable { get set }
Appends the given key-value pair to this document builder, encoding the value as the field value using its BSONEncodable
implementation.
subscript(with key: some RawRepresentable<String>) -> BSON.FieldEncoder { get set }
consuming func move() -> BSON.Output