Required Initializerswift-mongodb 0.27.0BSONDecoding
init(bson:)
Initializes an instance of this type from the given UTF-8 string.
BSONStringDecodable.swift:9init(bson: BSON.UTF8View<ArraySlice<UInt8>>) throws
Citizens in BSONDecoding
Default implementations
init(bson: BSON.AnyValue
) throws Attempts to cast the given variant value to a string, and then delegates to this type’s
init(bson:)
witness.init(bson: BSON.UTF8View<ArraySlice<UInt8>>
) throws Attempts to cast the given variant value to a string, and then delegates to this type’s
init(_:)
witness.