Skip to main content
Crate countries
countries
0.1.0
All Items
Crate Items
Structs
Constants
Functions
Crate
countries
Copy item path
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.