Module geo
Expand description
Geographic identity types shared across rama.
Continents, countries, languages, scripts and Locales, modelled as
closed, code-keyed enums with an Unknown escape hatch. The public surface
is std-only (no third-party types), and each enum has a borrowing, Copy
*Ref counterpart for zero-copy use.
These types are intended for reuse beyond IP geolocation — e.g. a typed
Accept-Language header or proxy location metadata.
Structs§
Enums§
- Continent
- A continent, identified by its two-letter geolocation code.
- Continent
Ref - Borrowing,
Copycounterpart ofContinent. - Country
- A country or territory, identified by its ISO 3166-1 alpha-2 code.
- Country
Ref - Borrowing,
Copycounterpart ofCountry. - Language
- A language, keyed by its ISO 639-1 two-letter code.
- Language
Ref - Borrowing,
Copycounterpart ofLanguage. - Script
- A writing system, keyed by its ISO 15924 four-letter code.
- Script
Ref - Borrowing,
Copycounterpart ofScript.