func encode(to bson: inout BSON.FieldEncoder)
s3ISOAAO7CountryV05BSON_A0E6encode2toy7BSONABI0C0O12FieldEncoderVz_tF
1ZJ3V
import BSON_ISO
import ISO
This module provides definitions for ISO country and language codes.
@frozen struct Country
enum ISO
@frozen enum BSON
The namespace for all BSON types.
@frozen struct FieldEncoder
A type that can serialize any BSON container element.
init(bson: BSON.AnyValue) throws
static func get(_ storage: UInt16) -> ISO.Country
consuming func set() -> UInt16