Module Values.CountrySource

Information about a country.

Sourcetype nonrec t = {
  1. countryCode : NonEmptyString.t option;
    (*

    The 2-letter ISO 3166 country code for the country.

    *)
  2. countryName : NonEmptyString.t option;
    (*

    The name of the country.

    *)
}
Sourceval make : ?countryCode:??? -> ?countryName:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of NonEmptyString.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t