#[non_exhaustive]pub enum Country {
Show 32 variants
Germany,
Austria,
Switzerland,
Netherlands,
Belgium,
France,
Luxembourg,
Poland,
CzechRepublic,
Denmark,
Italy,
Spain,
UnitedKingdom,
Sweden,
Norway,
Finland,
Portugal,
Greece,
Ireland,
Hungary,
Slovakia,
Slovenia,
Croatia,
Romania,
Bulgaria,
Estonia,
Latvia,
Lithuania,
Cyprus,
Malta,
Liechtenstein,
Iceland,
}Expand description
ISO 3166-1 alpha-2 country codes.
This enum contains the most commonly used country codes in the German energy market. Additional codes can be added as needed.
German: Landescode
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Germany
Germany (Deutschland)
Austria
Austria (Oesterreich)
Switzerland
Switzerland (Schweiz)
Netherlands
Netherlands (Niederlande)
Belgium
Belgium (Belgien)
France
France (Frankreich)
Luxembourg
Luxembourg (Luxemburg)
Poland
Poland (Polen)
CzechRepublic
Czech Republic (Tschechien)
Denmark
Denmark (Daenemark)
Italy
Italy (Italien)
Spain
Spain (Spanien)
UnitedKingdom
United Kingdom (Vereinigtes Koenigreich)
Sweden
Sweden (Schweden)
Norway
Norway (Norwegen)
Finland
Finland (Finnland)
Portugal
Portugal
Greece
Greece (Griechenland)
Ireland
Ireland (Irland)
Hungary
Hungary (Ungarn)
Slovakia
Slovakia (Slowakei)
Slovenia
Slovenia (Slowenien)
Croatia
Croatia (Kroatien)
Romania
Romania (Rumaenien)
Bulgaria
Bulgaria (Bulgarien)
Estonia
Estonia (Estland)
Latvia
Latvia (Lettland)
Lithuania
Lithuania (Litauen)
Cyprus
Cyprus (Zypern)
Malta
Malta
Liechtenstein
Liechtenstein
Iceland
Iceland (Island)
Implementations§
Source§impl Country
impl Country
Sourcepub fn german_name(&self) -> &'static str
pub fn german_name(&self) -> &'static str
Returns the German name.
Sourcepub fn alpha2_code(&self) -> &'static str
pub fn alpha2_code(&self) -> &'static str
Returns the ISO 3166-1 alpha-2 code as a string.