Instance Methodswift-bson 0.3.1BSONEncoding->BSONABI
encode(to:)
BSON.Identifier (ext).swift:4func encode(to field: inout BSON.FieldEncoder)
func encode(to field: inout BSON.FieldEncoder)
s7BSONABI4BSONO10IdentifierV12BSONEncodingE6encode2toyAC12FieldEncoderVz_tF
What are these?4WHWR
import BSONEncoding
import BSONABI
Models the BSON type system and the binary interface of the BSON serialization format.
@frozen struct Identifier
A MongoDB object reference. This type models a MongoDB ObjectId
.
@frozen enum BSON
The namespace for all BSON types.
@frozen struct FieldEncoder
A type that can serialize any BSON container element.