Initializer (Default implementation)swift-bson 0.3.1BSONDecoding
init(bson:)
BSONDecodable.swift:17init(bson: BSON.AnyValue) throws
init(bson: BSON.AnyValue) throws
s12BSONDecoding13BSONDecodablePAA7BSONABI17BSONRepresentableRzAaB18BSONRepresentationAdEPRpzrlE4bsonxAD4BSONO8AnyValueO_tKcfc
What are these?7XXWK
where Self:BSONRepresentable, Self.BSONRepresentation:BSONDecodable
import BSONDecoding
protocol BSONDecodable
A type that can be decoded from a BSON variant value backed by some type of storage not particular to the decoded type.
@frozen enum BSON
The namespace for all BSON types.
@frozen enum AnyValue
Any BSON value.
protocol BSONRepresentable<BSONRepresentation>
init(bson: BSON.AnyValue) throws
Attempts to cast a BSON variant backed by some storage type to an instance of this type. The implementation can copy the contents of the backing storage if needed.