pub enum Country {
Show 279 variants
Other = 0,
Afghanistan = 1,
Albania = 2,
Algeria = 3,
AmericanSamoa = 4,
Andorra = 5,
Angola = 6,
Anguilla = 7,
Antarctica = 8,
AntiguaandBarbuda = 9,
Argentina = 10,
Aruba = 11,
AshmoreandCartierIslands = 12,
Australia = 13,
Austria = 14,
Bahamas = 15,
Bahrain = 16,
BakerIsland = 17,
Bangladesh = 18,
Barbados = 19,
BassasdaIndia = 20,
Belgium = 21,
Belize = 22,
Benin = 23,
Bermuda = 24,
Bhutan = 25,
Bolivia = 26,
Botswana = 27,
BouvetIsland = 28,
Brazil = 29,
BritishIndianOceanTerritory = 30,
VirginIslandsBritish = 31,
BruneiDarussalam = 32,
Bulgaria = 33,
BurkinaFaso = 34,
Myanmar = 35,
Burundi = 36,
Cambodia = 37,
Cameroon = 38,
Canada = 39,
CaboVerde = 40,
CaymanIslands = 41,
CentralAfricanRepublic = 42,
Chad = 43,
Chile = 44,
ChinaPeoplesRepublicof = 45,
ChristmasIsland = 46,
Cocos = 47,
Colombia = 48,
Comoros = 49,
Congo = 50,
CookIslands = 51,
CoralSeaIslands = 52,
CostaRica = 53,
Cuba = 54,
Cyprus = 55,
Czechoslovakia = 56,
Denmark = 57,
Djibouti = 58,
Dominica = 59,
DominicanRepublic = 60,
Ecuador = 61,
Egypt = 62,
ElSalvador = 63,
EquatorialGuinea = 64,
Ethiopia = 65,
EuropaIsland = 66,
FalklandIslands = 67,
FaroeIslands = 68,
Fiji = 69,
Finland = 70,
France = 71,
FrenchGuiana = 72,
FrenchPolynesia = 73,
FrenchSouthernTerritories = 74,
Gabon = 75,
GambiaThe = 76,
GazaStrip = 77,
Germany = 78,
Ghana = 79,
Gibraltar = 80,
GloriosoIslands = 81,
Greece = 82,
Greenland = 83,
Grenada = 84,
Guadeloupe = 85,
Guam = 86,
Guatemala = 87,
Guernsey = 88,
Guinea = 89,
GuineaBissau = 90,
Guyana = 91,
Haiti = 92,
HeardIslandandMcDonaldIslands = 93,
Honduras = 94,
HongKong = 95,
HowlandIsland = 96,
Hungary = 97,
Iceland = 98,
India = 99,
Indonesia = 100,
Iran = 101,
Iraq = 102,
Ireland = 104,
Israel = 105,
Italy = 106,
CotedIvoire = 107,
Jamaica = 108,
JanMayen = 109,
Japan = 110,
JarvisIsland = 111,
Jersey = 112,
JohnstonAtoll = 113,
Jordan = 114,
JuandeNovaIsland = 115,
Kenya = 116,
KingmanReef = 117,
Kiribati = 118,
KoreaDemocraticPeoplesRepublicOf = 119,
KoreaRepublicOf = 120,
Kuwait = 121,
LaoPeoplesDemocraticRepublic = 122,
Lebanon = 123,
Lesotho = 124,
Liberia = 125,
Libya = 126,
Liechtenstein = 127,
Luxembourg = 128,
Madagascar = 129,
Macao = 130,
Malawi = 131,
Malaysia = 132,
Maldives = 133,
Mali = 134,
Malta = 135,
IsleofMan = 136,
MarshallIslands = 137,
Martinique = 138,
Mauritania = 139,
Mauritius = 140,
Mayotte = 141,
Mexico = 142,
Micronesia = 143,
Monaco = 144,
Mongolia = 145,
Montserrat = 146,
Morocco = 147,
Mozambique = 148,
Namibia = 149,
Nauru = 150,
NavassaIsland = 151,
Nepal = 152,
Netherlands = 153,
NetherlandsAntilles = 154,
NewCaledonia = 155,
NewZealand = 156,
Nicaragua = 157,
Niger = 158,
Nigeria = 159,
Niue = 160,
NorfolkIsland = 161,
NorthernMarianaIslands = 162,
Norway = 163,
Oman = 164,
Pakistan = 165,
PalmyraAtoll = 166,
Panama = 168,
PapuaNewGuinea = 169,
ParacelIslands = 170,
Paraguay = 171,
Peru = 172,
Philippines = 173,
Pitcairn = 174,
Poland = 175,
Portugal = 176,
PuertoRico = 177,
Qatar = 178,
Reunion = 179,
Romania = 180,
Rwanda = 181,
SaintKittsandNevis = 182,
SaintHelenaAscensionandTristandaCunha = 183,
SaintLucia = 184,
SaintPierreandMiquelon = 185,
SaintVincentandtheGrenadines = 186,
SanMarino = 187,
SaoTomeandPrincipe = 188,
SaudiArabia = 189,
Senegal = 190,
Seychelles = 191,
SierraLeone = 192,
Singapore = 193,
SolomonIslands = 194,
Somalia = 195,
SouthGeorgiaandtheSouthSandwichIslands = 196,
SouthAfrica = 197,
Spain = 198,
SpratlyIslands = 199,
SriLanka = 200,
Sudan = 201,
Suriname = 202,
Svalbard = 203,
Eswatini = 204,
Sweden = 205,
Switzerland = 206,
SyrianArabRepublic = 207,
TaiwanProvinceofChina = 208,
TanzaniaUnitedRepublicof = 209,
Thailand = 210,
Togo = 211,
Tokelau = 212,
Tonga = 213,
TrinidadandTobago = 214,
TromelinIsland = 215,
Palau = 216,
Tunisia = 217,
Turkey = 218,
TurksandCaicosIslands = 219,
Tuvalu = 220,
Uganda = 221,
Russia = 222,
UnitedArabEmirates = 223,
UnitedKingdomofGreatBritainandNorthernIreland = 224,
UnitedStatesofAmerica = 225,
Uruguay = 226,
Vanuatu = 227,
HolySee = 228,
Venezuela = 229,
VietNam = 230,
VirginIslandsUS = 231,
WakeIsland = 232,
WallisandFutuna = 233,
WesternSahara = 234,
WestBank = 235,
Samoa = 236,
Yemen = 237,
SerbiaandMontenegro_ = 240,
Zaire = 241,
Zambia = 242,
Zimbabwe = 243,
Armenia = 244,
Azerbaijan = 245,
Belarus = 246,
BosniaandHerzegovina = 247,
ClippertonIsland = 248,
Croatia = 249,
Estonia = 250,
Georgia = 251,
Kazakhstan = 252,
Kyrgyzstan = 253,
Latvia = 254,
Lithuania = 255,
NorthMacedonia = 256,
MidwayIslands = 257,
Moldova = 258,
Montenegro = 259,
Russia_ = 260,
SerbiaAndMontenegro__ = 261,
Slovenia = 262,
Tajikistan = 263,
Turkmenistan = 264,
Ukraine = 265,
Uzbekistan = 266,
CzechRepublic = 267,
Slovakia = 268,
AalandIslands = 269,
BonaireSintEustatiusandSaba = 270,
CongoDemocraticRepublicOfThe = 271,
Curacao = 272,
Eritrea = 273,
SaintBarthelemy = 274,
SaintMartin = 275,
Serbia = 276,
SintMaarten = 277,
SouthSudan = 278,
SvalbardandJanMayen = 279,
TimorLeste = 280,
UnitedStatesMinorOutlyingIslands = 281,
PalestineStateof = 282,
}
Variants§
Other = 0
Afghanistan = 1
Albania = 2
Algeria = 3
AmericanSamoa = 4
Andorra = 5
Angola = 6
Anguilla = 7
Antarctica = 8
AntiguaandBarbuda = 9
Argentina = 10
Aruba = 11
AshmoreandCartierIslands = 12
Australia = 13
Austria = 14
Bahamas = 15
Bahrain = 16
BakerIsland = 17
Bangladesh = 18
Barbados = 19
BassasdaIndia = 20
Belgium = 21
Belize = 22
Benin = 23
Bermuda = 24
Bhutan = 25
Bolivia = 26
Botswana = 27
BouvetIsland = 28
Brazil = 29
BritishIndianOceanTerritory = 30
VirginIslandsBritish = 31
BruneiDarussalam = 32
Bulgaria = 33
BurkinaFaso = 34
Myanmar = 35
Burundi = 36
Cambodia = 37
Cameroon = 38
Canada = 39
CaboVerde = 40
CaymanIslands = 41
CentralAfricanRepublic = 42
Chad = 43
Chile = 44
ChinaPeoplesRepublicof = 45
ChristmasIsland = 46
Cocos = 47
Colombia = 48
Comoros = 49
Congo = 50
CookIslands = 51
CoralSeaIslands = 52
CostaRica = 53
Cuba = 54
Cyprus = 55
Czechoslovakia = 56
Denmark = 57
Djibouti = 58
Dominica = 59
DominicanRepublic = 60
Ecuador = 61
Egypt = 62
ElSalvador = 63
EquatorialGuinea = 64
Ethiopia = 65
EuropaIsland = 66
FalklandIslands = 67
FaroeIslands = 68
Fiji = 69
Finland = 70
France = 71
FrenchGuiana = 72
FrenchPolynesia = 73
FrenchSouthernTerritories = 74
Gabon = 75
GambiaThe = 76
GazaStrip = 77
Germany = 78
Ghana = 79
Gibraltar = 80
GloriosoIslands = 81
Greece = 82
Greenland = 83
Grenada = 84
Guadeloupe = 85
Guam = 86
Guatemala = 87
Guernsey = 88
Guinea = 89
GuineaBissau = 90
Guyana = 91
Haiti = 92
HeardIslandandMcDonaldIslands = 93
Honduras = 94
HongKong = 95
HowlandIsland = 96
Hungary = 97
Iceland = 98
India = 99
Indonesia = 100
Iran = 101
Iraq = 102
Ireland = 104
Israel = 105
Italy = 106
CotedIvoire = 107
Jamaica = 108
JanMayen = 109
Japan = 110
JarvisIsland = 111
Jersey = 112
JohnstonAtoll = 113
Jordan = 114
JuandeNovaIsland = 115
Kenya = 116
KingmanReef = 117
Kiribati = 118
KoreaDemocraticPeoplesRepublicOf = 119
KoreaRepublicOf = 120
Kuwait = 121
LaoPeoplesDemocraticRepublic = 122
Lebanon = 123
Lesotho = 124
Liberia = 125
Libya = 126
Liechtenstein = 127
Luxembourg = 128
Madagascar = 129
Macao = 130
Malawi = 131
Malaysia = 132
Maldives = 133
Mali = 134
Malta = 135
IsleofMan = 136
MarshallIslands = 137
Martinique = 138
Mauritania = 139
Mauritius = 140
Mayotte = 141
Mexico = 142
Micronesia = 143
Monaco = 144
Mongolia = 145
Montserrat = 146
Morocco = 147
Mozambique = 148
Namibia = 149
Nauru = 150
Nepal = 152
Netherlands = 153
NetherlandsAntilles = 154
NewCaledonia = 155
NewZealand = 156
Nicaragua = 157
Niger = 158
Nigeria = 159
Niue = 160
NorfolkIsland = 161
NorthernMarianaIslands = 162
Norway = 163
Oman = 164
Pakistan = 165
PalmyraAtoll = 166
Panama = 168
PapuaNewGuinea = 169
ParacelIslands = 170
Paraguay = 171
Peru = 172
Philippines = 173
Pitcairn = 174
Poland = 175
Portugal = 176
PuertoRico = 177
Qatar = 178
Reunion = 179
Romania = 180
Rwanda = 181
SaintKittsandNevis = 182
SaintHelenaAscensionandTristandaCunha = 183
SaintLucia = 184
SaintPierreandMiquelon = 185
SaintVincentandtheGrenadines = 186
SanMarino = 187
SaoTomeandPrincipe = 188
SaudiArabia = 189
Senegal = 190
Seychelles = 191
SierraLeone = 192
Singapore = 193
SolomonIslands = 194
Somalia = 195
SouthGeorgiaandtheSouthSandwichIslands = 196
SouthAfrica = 197
Spain = 198
SpratlyIslands = 199
SriLanka = 200
Sudan = 201
Suriname = 202
Svalbard = 203
Eswatini = 204
Sweden = 205
Switzerland = 206
SyrianArabRepublic = 207
TaiwanProvinceofChina = 208
TanzaniaUnitedRepublicof = 209
Thailand = 210
Togo = 211
Tokelau = 212
Tonga = 213
TrinidadandTobago = 214
TromelinIsland = 215
Palau = 216
Tunisia = 217
Turkey = 218
TurksandCaicosIslands = 219
Tuvalu = 220
Uganda = 221
Russia = 222
UnitedArabEmirates = 223
UnitedKingdomofGreatBritainandNorthernIreland = 224
UnitedStatesofAmerica = 225
Uruguay = 226
Vanuatu = 227
HolySee = 228
Venezuela = 229
VietNam = 230
VirginIslandsUS = 231
WakeIsland = 232
WallisandFutuna = 233
WesternSahara = 234
WestBank = 235
Samoa = 236
Yemen = 237
SerbiaandMontenegro_ = 240
👎Deprecated: Deprecated in SISO-REF-010-2023
Zaire = 241
Zambia = 242
Zimbabwe = 243
Armenia = 244
Azerbaijan = 245
Belarus = 246
BosniaandHerzegovina = 247
ClippertonIsland = 248
Croatia = 249
Estonia = 250
Georgia = 251
Kazakhstan = 252
Kyrgyzstan = 253
Latvia = 254
Lithuania = 255
NorthMacedonia = 256
MidwayIslands = 257
Moldova = 258
Montenegro = 259
Russia_ = 260
👎Deprecated: Deprecated in SISO-REF-010-2023
SerbiaAndMontenegro__ = 261
👎Deprecated: Deprecated in SISO-REF-010-2023
Slovenia = 262
Tajikistan = 263
Turkmenistan = 264
Ukraine = 265
Uzbekistan = 266
CzechRepublic = 267
Slovakia = 268
AalandIslands = 269
BonaireSintEustatiusandSaba = 270
CongoDemocraticRepublicOfThe = 271
Curacao = 272
Eritrea = 273
SaintBarthelemy = 274
SaintMartin = 275
Serbia = 276
SintMaarten = 277
SouthSudan = 278
SvalbardandJanMayen = 279
TimorLeste = 280
UnitedStatesMinorOutlyingIslands = 281
PalestineStateof = 282
Implementations§
Trait Implementations§
Source§impl FromPrimitive for Country
impl FromPrimitive for Country
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moreimpl Copy for Country
impl StructuralPartialEq for Country
Auto Trait Implementations§
impl Freeze for Country
impl RefUnwindSafe for Country
impl Send for Country
impl Sync for Country
impl Unpin for Country
impl UnwindSafe for Country
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more