Module Values.CountrySource

The alpha-2 or alpha-3 character code for the country that the results will be present in.

Sourcetype nonrec t = {
  1. code2 : CountryCode2.t option;
    (*

    Country, represented by its alpha 2-character code.

    *)
  2. code3 : CountryCode3.t option;
    (*

    Country, represented by its alpha t-character code.

    *)
  3. name : CountryNameString.t option;
    (*

    Name of the country.

    *)
}
Sourceval make : ?code2:??? -> ?code3:??? -> ?name:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of CountryCode2.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