Skip to main content

Crate countries

Crate countries 

Source

Structs§

Country
A country with its ISO 3166-1 alpha-2 code and name.

Constants§

UNKNOWN
Name returned when a country is not found.
UNKNOWN_CODE
Code used as a fallback when a country is not found.

Functions§

countries
Returns the full list of known countries, ordered by ISO 3166-1 alpha-2 code.
name
Look up a country name by its ISO 3166-1 alpha-2 code.