iocisofifa 1.0.0

IOC, ISO 3661-1, and FIFA country codes conversions.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
use crate::country::Country;

const AFG: &str = "AFG";
const ALA: &str = "ALA";
const ALB: &str = "ALB";
const DZA: &str = "DZA";
const ASM: &str = "ASM";
const AND: &str = "AND";
const AGO: &str = "AGO";
const AIA: &str = "AIA";
const ATA: &str = "ATA";
const ATG: &str = "ATG";
const ARG: &str = "ARG";
const ARM: &str = "ARM";
const ABW: &str = "ABW";
const AUS: &str = "AUS";
const AUT: &str = "AUT";
const AZE: &str = "AZE";
const BHS: &str = "BHS";
const BHR: &str = "BHR";
const BGD: &str = "BGD";
const BRB: &str = "BRB";
const BLR: &str = "BLR";
const BEL: &str = "BEL";
const BLZ: &str = "BLZ";
const BEN: &str = "BEN";
const BMU: &str = "BMU";
const BTN: &str = "BTN";
const BOL: &str = "BOL";
const BES: &str = "BES";
const BIH: &str = "BIH";
const BWA: &str = "BWA";
const BVT: &str = "BVT";
const BRA: &str = "BRA";
const IOT: &str = "IOT";
const VGB: &str = "VGB";
const BRN: &str = "BRN";
const BGR: &str = "BGR";
const BFA: &str = "BFA";
const BDI: &str = "BDI";
const CPV: &str = "CPV";
const KHM: &str = "KHM";
const CMR: &str = "CMR";
const CAN: &str = "CAN";
const CYM: &str = "CYM";
const CAF: &str = "CAF";
const TCD: &str = "TCD";
const CHL: &str = "CHL";
const CHN: &str = "CHN";
const HKG: &str = "HKG";
const MAC: &str = "MAC";
const CXR: &str = "CXR";
const CCK: &str = "CCK";
const COL: &str = "COL";
const COM: &str = "COM";
const COG: &str = "COG";
const COK: &str = "COK";
const CRI: &str = "CRI";
const HRV: &str = "HRV";
const CUB: &str = "CUB";
const CUW: &str = "CUW";
const CYP: &str = "CYP";
const CZE: &str = "CZE";
const PRK: &str = "PRK";
const COD: &str = "COD";
const DNK: &str = "DNK";
const DJI: &str = "DJI";
const DMA: &str = "DMA";
const DOM: &str = "DOM";
const ECU: &str = "ECU";
const EGY: &str = "EGY";
const SLV: &str = "SLV";
const GNQ: &str = "GNQ";
const ERI: &str = "ERI";
const EST: &str = "EST";
const SWZ: &str = "SWZ";
const ETH: &str = "ETH";
const FLK: &str = "FLK";
const FRO: &str = "FRO";
const FJI: &str = "FJI";
const FIN: &str = "FIN";
const FRA: &str = "FRA";
const GUF: &str = "GUF";
const PYF: &str = "PYF";
const ATF: &str = "ATF";
const GAB: &str = "GAB";
const GMB: &str = "GMB";
const GEO: &str = "GEO";
const DEU: &str = "DEU";
const GHA: &str = "GHA";
const GIB: &str = "GIB";
const GRC: &str = "GRC";
const GRL: &str = "GRL";
const GRD: &str = "GRD";
const GLP: &str = "GLP";
const GUM: &str = "GUM";
const GTM: &str = "GTM";
const GGY: &str = "GGY";
const GIN: &str = "GIN";
const GNB: &str = "GNB";
const GUY: &str = "GUY";
const HTI: &str = "HTI";
const HMD: &str = "HMD";
const VAT: &str = "VAT";
const HND: &str = "HND";
const HUN: &str = "HUN";
const ISL: &str = "ISL";
const IND: &str = "IND";
const IDN: &str = "IDN";
const IRN: &str = "IRN";
const IRQ: &str = "IRQ";
const IRL: &str = "IRL";
const IMN: &str = "IMN";
const ISR: &str = "ISR";
const ITA: &str = "ITA";
const CIV: &str = "CIV";
const JAM: &str = "JAM";
const JPN: &str = "JPN";
const JEY: &str = "JEY";
const JOR: &str = "JOR";
const KAZ: &str = "KAZ";
const KEN: &str = "KEN";
const KIR: &str = "KIR";
const KWT: &str = "KWT";
const KGZ: &str = "KGZ";
const LAO: &str = "LAO";
const LVA: &str = "LVA";
const LBN: &str = "LBN";
const LSO: &str = "LSO";
const LBR: &str = "LBR";
const LBY: &str = "LBY";
const LIE: &str = "LIE";
const LTU: &str = "LTU";
const LUX: &str = "LUX";
const MDG: &str = "MDG";
const MWI: &str = "MWI";
const MYS: &str = "MYS";
const MDV: &str = "MDV";
const MLI: &str = "MLI";
const MLT: &str = "MLT";
const MHL: &str = "MHL";
const MTQ: &str = "MTQ";
const MRT: &str = "MRT";
const MUS: &str = "MUS";
const MYT: &str = "MYT";
const MEX: &str = "MEX";
const FSM: &str = "FSM";
const MCO: &str = "MCO";
const MNG: &str = "MNG";
const MNE: &str = "MNE";
const MSR: &str = "MSR";
const MAR: &str = "MAR";
const MOZ: &str = "MOZ";
const MMR: &str = "MMR";
const NAM: &str = "NAM";
const NRU: &str = "NRU";
const NPL: &str = "NPL";
const NLD: &str = "NLD";
const NCL: &str = "NCL";
const NZL: &str = "NZL";
const NIC: &str = "NIC";
const NER: &str = "NER";
const NGA: &str = "NGA";
const NIU: &str = "NIU";
const NFK: &str = "NFK";
const MNP: &str = "MNP";
const MKD: &str = "MKD";
const NOR: &str = "NOR";
const OMN: &str = "OMN";
const PAK: &str = "PAK";
const PLW: &str = "PLW";
const PAN: &str = "PAN";
const PNG: &str = "PNG";
const PRY: &str = "PRY";
const PER: &str = "PER";
const PHL: &str = "PHL";
const PCN: &str = "PCN";
const POL: &str = "POL";
const PRT: &str = "PRT";
const PRI: &str = "PRI";
const QAT: &str = "QAT";
const KOR: &str = "KOR";
const MDA: &str = "MDA";
const REU: &str = "REU";
const ROU: &str = "ROU";
const RUS: &str = "RUS";
const RWA: &str = "RWA";
const BLM: &str = "BLM";
const SHN: &str = "SHN";
const KNA: &str = "KNA";
const LCA: &str = "LCA";
const MAF: &str = "MAF";
const SPM: &str = "SPM";
const VCT: &str = "VCT";
const WSM: &str = "WSM";
const SMR: &str = "SMR";
const STP: &str = "STP";
const SAU: &str = "SAU";
const SEN: &str = "SEN";
const SRB: &str = "SRB";
const SYC: &str = "SYC";
const SLE: &str = "SLE";
const SGP: &str = "SGP";
const SXM: &str = "SXM";
const SVK: &str = "SVK";
const SVN: &str = "SVN";
const SLB: &str = "SLB";
const SOM: &str = "SOM";
const ZAF: &str = "ZAF";
const SGS: &str = "SGS";
const SSD: &str = "SSD";
const ESP: &str = "ESP";
const LKA: &str = "LKA";
const PSE: &str = "PSE";
const SDN: &str = "SDN";
const SUR: &str = "SUR";
const SJM: &str = "SJM";
const SWE: &str = "SWE";
const CHE: &str = "CHE";
const SYR: &str = "SYR";
const TWN: &str = "TWN";
const TJK: &str = "TJK";
const THA: &str = "THA";
const TLS: &str = "TLS";
const TGO: &str = "TGO";
const TKL: &str = "TKL";
const TON: &str = "TON";
const TTO: &str = "TTO";
const TUN: &str = "TUN";
const TUR: &str = "TUR";
const TKM: &str = "TKM";
const TCA: &str = "TCA";
const TUV: &str = "TUV";
const UGA: &str = "UGA";
const UKR: &str = "UKR";
const ARE: &str = "ARE";
const GBR: &str = "GBR";
const TZA: &str = "TZA";
const UMI: &str = "UMI";
const USA: &str = "USA";
const VIR: &str = "VIR";
const URY: &str = "URY";
const UZB: &str = "UZB";
const VUT: &str = "VUT";
const VEN: &str = "VEN";
const VNM: &str = "VNM";
const WLF: &str = "WLF";
const ESH: &str = "ESH";
const YEM: &str = "YEM";
const ZMB: &str = "ZMB";
const ZWE: &str = "ZWE";

// Kosovo
const XKX: &str = "XKX";

// Not a Code
pub const NAC: &str = "NAC";

pub fn code_to_country(code: &str) -> Option<Country> {
    let country = match code {
        AFG => Country::AFG,
        ALA => Country::ALA,
        ALB => Country::ALB,
        DZA => Country::DZA,
        ASM => Country::ASM,
        AND => Country::AND,
        AGO => Country::AGO,
        AIA => Country::AIA,
        ATA => Country::ATA,
        ATG => Country::ATG,
        ARG => Country::ARG,
        ARM => Country::ARM,
        ABW => Country::ABW,
        AUS => Country::AUS,
        AUT => Country::AUT,
        AZE => Country::AZE,
        BHS => Country::BHS,
        BHR => Country::BHR,
        BGD => Country::BGD,
        BRB => Country::BRB,
        BLR => Country::BLR,
        BEL => Country::BEL,
        BLZ => Country::BLZ,
        BEN => Country::BEN,
        BMU => Country::BMU,
        BTN => Country::BTN,
        BOL => Country::BOL,
        BES => Country::BES,
        BIH => Country::BIH,
        BWA => Country::BWA,
        BVT => Country::BVT,
        BRA => Country::BRA,
        IOT => Country::IOT,
        VGB => Country::VGB,
        BRN => Country::BRN,
        BGR => Country::BGR,
        BFA => Country::BFA,
        BDI => Country::BDI,
        CPV => Country::CPV,
        KHM => Country::KHM,
        CMR => Country::CMR,
        CAN => Country::CAN,
        CYM => Country::CYM,
        CAF => Country::CAF,
        TCD => Country::TCD,
        CHL => Country::CHL,
        CHN => Country::CHN,
        HKG => Country::HKG,
        MAC => Country::MAC,
        CXR => Country::CXR,
        CCK => Country::CCK,
        COL => Country::COL,
        COM => Country::COM,
        COG => Country::COG,
        COK => Country::COK,
        CRI => Country::CRI,
        HRV => Country::HRV,
        CUB => Country::CUB,
        CUW => Country::CUW,
        CYP => Country::CYP,
        CZE => Country::CZE,
        PRK => Country::PRK,
        COD => Country::COD,
        DNK => Country::DNK,
        DJI => Country::DJI,
        DMA => Country::DMA,
        DOM => Country::DOM,
        ECU => Country::ECU,
        EGY => Country::EGY,
        SLV => Country::SLV,
        GNQ => Country::GNQ,
        ERI => Country::ERI,
        EST => Country::EST,
        SWZ => Country::SWZ,
        ETH => Country::ETH,
        FLK => Country::FLK,
        FRO => Country::FRO,
        FJI => Country::FJI,
        FIN => Country::FIN,
        FRA => Country::FRA,
        GUF => Country::GUF,
        PYF => Country::PYF,
        ATF => Country::ATF,
        GAB => Country::GAB,
        GMB => Country::GMB,
        GEO => Country::GEO,
        DEU => Country::DEU,
        GHA => Country::GHA,
        GIB => Country::GIB,
        GRC => Country::GRC,
        GRL => Country::GRL,
        GRD => Country::GRD,
        GLP => Country::GLP,
        GUM => Country::GUM,
        GTM => Country::GTM,
        GGY => Country::GGY,
        GIN => Country::GIN,
        GNB => Country::GNB,
        GUY => Country::GUY,
        HTI => Country::HTI,
        HMD => Country::HMD,
        VAT => Country::VAT,
        HND => Country::HND,
        HUN => Country::HUN,
        ISL => Country::ISL,
        IND => Country::IND,
        IDN => Country::IDN,
        IRN => Country::IRN,
        IRQ => Country::IRQ,
        IRL => Country::IRL,
        IMN => Country::IMN,
        ISR => Country::ISR,
        ITA => Country::ITA,
        CIV => Country::CIV,
        JAM => Country::JAM,
        JPN => Country::JPN,
        JEY => Country::JEY,
        JOR => Country::JOR,
        KAZ => Country::KAZ,
        KEN => Country::KEN,
        KIR => Country::KIR,
        KWT => Country::KWT,
        KGZ => Country::KGZ,
        LAO => Country::LAO,
        LVA => Country::LVA,
        LBN => Country::LBN,
        LSO => Country::LSO,
        LBR => Country::LBR,
        LBY => Country::LBY,
        LIE => Country::LIE,
        LTU => Country::LTU,
        LUX => Country::LUX,
        MDG => Country::MDG,
        MWI => Country::MWI,
        MYS => Country::MYS,
        MDV => Country::MDV,
        MLI => Country::MLI,
        MLT => Country::MLT,
        MHL => Country::MHL,
        MTQ => Country::MTQ,
        MRT => Country::MRT,
        MUS => Country::MUS,
        MYT => Country::MYT,
        MEX => Country::MEX,
        FSM => Country::FSM,
        MCO => Country::MCO,
        MNG => Country::MNG,
        MNE => Country::MNE,
        MSR => Country::MSR,
        MAR => Country::MAR,
        MOZ => Country::MOZ,
        MMR => Country::MMR,
        NAM => Country::NAM,
        NRU => Country::NRU,
        NPL => Country::NPL,
        NLD => Country::NLD,
        NCL => Country::NCL,
        NZL => Country::NZL,
        NIC => Country::NIC,
        NER => Country::NER,
        NGA => Country::NGA,
        NIU => Country::NIU,
        NFK => Country::NFK,
        MNP => Country::MNP,
        MKD => Country::MKD,
        NOR => Country::NOR,
        OMN => Country::OMN,
        PAK => Country::PAK,
        PLW => Country::PLW,
        PAN => Country::PAN,
        PNG => Country::PNG,
        PRY => Country::PRY,
        PER => Country::PER,
        PHL => Country::PHL,
        PCN => Country::PCN,
        POL => Country::POL,
        PRT => Country::PRT,
        PRI => Country::PRI,
        QAT => Country::QAT,
        KOR => Country::KOR,
        MDA => Country::MDA,
        REU => Country::REU,
        ROU => Country::ROU,
        RUS => Country::RUS,
        RWA => Country::RWA,
        BLM => Country::BLM,
        SHN => Country::SHN,
        KNA => Country::KNA,
        LCA => Country::LCA,
        MAF => Country::MAF,
        SPM => Country::SPM,
        VCT => Country::VCT,
        WSM => Country::WSM,
        SMR => Country::SMR,
        STP => Country::STP,
        SAU => Country::SAU,
        SEN => Country::SEN,
        SRB => Country::SRB,
        SYC => Country::SYC,
        SLE => Country::SLE,
        SGP => Country::SGP,
        SXM => Country::SXM,
        SVK => Country::SVK,
        SVN => Country::SVN,
        SLB => Country::SLB,
        SOM => Country::SOM,
        ZAF => Country::ZAF,
        SGS => Country::SGS,
        SSD => Country::SSD,
        ESP => Country::ESP,
        LKA => Country::LKA,
        PSE => Country::PSE,
        SDN => Country::SDN,
        SUR => Country::SUR,
        SJM => Country::SJM,
        SWE => Country::SWE,
        CHE => Country::CHE,
        SYR => Country::SYR,
        TWN => Country::TWN,
        TJK => Country::TJK,
        THA => Country::THA,
        TLS => Country::TLS,
        TGO => Country::TGO,
        TKL => Country::TKL,
        TON => Country::TON,
        TTO => Country::TTO,
        TUN => Country::TUN,
        TUR => Country::TUR,
        TKM => Country::TKM,
        TCA => Country::TCA,
        TUV => Country::TUV,
        UGA => Country::UGA,
        UKR => Country::UKR,
        ARE => Country::ARE,
        GBR => Country::GBR,
        TZA => Country::TZA,
        UMI => Country::UMI,
        USA => Country::USA,
        VIR => Country::VIR,
        URY => Country::URY,
        UZB => Country::UZB,
        VUT => Country::VUT,
        VEN => Country::VEN,
        VNM => Country::VNM,
        WLF => Country::WLF,
        ESH => Country::ESH,
        YEM => Country::YEM,
        ZMB => Country::ZMB,
        ZWE => Country::ZWE,
        XKX => Country::XKX,
        NAC => Country::NAC,
        _ => return None,
    };
    Some(country)
}

pub const fn country_to_code(country: Country) -> Option<&'static str> {
    let alpha3 = match country {
        Country::AFG => AFG,
        Country::ALA => ALA,
        Country::ALB => ALB,
        Country::DZA => DZA,
        Country::ASM => ASM,
        Country::AND => AND,
        Country::AGO => AGO,
        Country::AIA => AIA,
        Country::ATA => ATA,
        Country::ATG => ATG,
        Country::ARG => ARG,
        Country::ARM => ARM,
        Country::ABW => ABW,
        Country::AUS => AUS,
        Country::AUT => AUT,
        Country::AZE => AZE,
        Country::BHS => BHS,
        Country::BHR => BHR,
        Country::BGD => BGD,
        Country::BRB => BRB,
        Country::BLR => BLR,
        Country::BEL => BEL,
        Country::BLZ => BLZ,
        Country::BEN => BEN,
        Country::BMU => BMU,
        Country::BTN => BTN,
        Country::BOL => BOL,
        Country::BES => BES,
        Country::BIH => BIH,
        Country::BWA => BWA,
        Country::BVT => BVT,
        Country::BRA => BRA,
        Country::IOT => IOT,
        Country::VGB => VGB,
        Country::BRN => BRN,
        Country::BGR => BGR,
        Country::BFA => BFA,
        Country::BDI => BDI,
        Country::CPV => CPV,
        Country::KHM => KHM,
        Country::CMR => CMR,
        Country::CAN => CAN,
        Country::CYM => CYM,
        Country::CAF => CAF,
        Country::TCD => TCD,
        Country::CHL => CHL,
        Country::CHN => CHN,
        Country::HKG => HKG,
        Country::MAC => MAC,
        Country::CXR => CXR,
        Country::CCK => CCK,
        Country::COL => COL,
        Country::COM => COM,
        Country::COG => COG,
        Country::COK => COK,
        Country::CRI => CRI,
        Country::HRV => HRV,
        Country::CUB => CUB,
        Country::CUW => CUW,
        Country::CYP => CYP,
        Country::CZE => CZE,
        Country::PRK => PRK,
        Country::COD => COD,
        Country::DNK => DNK,
        Country::DJI => DJI,
        Country::DMA => DMA,
        Country::DOM => DOM,
        Country::ECU => ECU,
        Country::EGY => EGY,
        Country::SLV => SLV,
        Country::GNQ => GNQ,
        Country::ERI => ERI,
        Country::EST => EST,
        Country::SWZ => SWZ,
        Country::ETH => ETH,
        Country::FLK => FLK,
        Country::FRO => FRO,
        Country::FJI => FJI,
        Country::FIN => FIN,
        Country::FRA => FRA,
        Country::GUF => GUF,
        Country::PYF => PYF,
        Country::ATF => ATF,
        Country::GAB => GAB,
        Country::GMB => GMB,
        Country::GEO => GEO,
        Country::DEU => DEU,
        Country::GHA => GHA,
        Country::GIB => GIB,
        Country::GRC => GRC,
        Country::GRL => GRL,
        Country::GRD => GRD,
        Country::GLP => GLP,
        Country::GUM => GUM,
        Country::GTM => GTM,
        Country::GGY => GGY,
        Country::GIN => GIN,
        Country::GNB => GNB,
        Country::GUY => GUY,
        Country::HTI => HTI,
        Country::HMD => HMD,
        Country::VAT => VAT,
        Country::HND => HND,
        Country::HUN => HUN,
        Country::ISL => ISL,
        Country::IND => IND,
        Country::IDN => IDN,
        Country::IRN => IRN,
        Country::IRQ => IRQ,
        Country::IRL => IRL,
        Country::IMN => IMN,
        Country::ISR => ISR,
        Country::ITA => ITA,
        Country::CIV => CIV,
        Country::JAM => JAM,
        Country::JPN => JPN,
        Country::JEY => JEY,
        Country::JOR => JOR,
        Country::KAZ => KAZ,
        Country::KEN => KEN,
        Country::KIR => KIR,
        Country::KWT => KWT,
        Country::KGZ => KGZ,
        Country::LAO => LAO,
        Country::LVA => LVA,
        Country::LBN => LBN,
        Country::LSO => LSO,
        Country::LBR => LBR,
        Country::LBY => LBY,
        Country::LIE => LIE,
        Country::LTU => LTU,
        Country::LUX => LUX,
        Country::MDG => MDG,
        Country::MWI => MWI,
        Country::MYS => MYS,
        Country::MDV => MDV,
        Country::MLI => MLI,
        Country::MLT => MLT,
        Country::MHL => MHL,
        Country::MTQ => MTQ,
        Country::MRT => MRT,
        Country::MUS => MUS,
        Country::MYT => MYT,
        Country::MEX => MEX,
        Country::FSM => FSM,
        Country::MCO => MCO,
        Country::MNG => MNG,
        Country::MNE => MNE,
        Country::MSR => MSR,
        Country::MAR => MAR,
        Country::MOZ => MOZ,
        Country::MMR => MMR,
        Country::NAM => NAM,
        Country::NRU => NRU,
        Country::NPL => NPL,
        Country::NLD => NLD,
        Country::NCL => NCL,
        Country::NZL => NZL,
        Country::NIC => NIC,
        Country::NER => NER,
        Country::NGA => NGA,
        Country::NIU => NIU,
        Country::NFK => NFK,
        Country::MNP => MNP,
        Country::MKD => MKD,
        Country::NOR => NOR,
        Country::OMN => OMN,
        Country::PAK => PAK,
        Country::PLW => PLW,
        Country::PAN => PAN,
        Country::PNG => PNG,
        Country::PRY => PRY,
        Country::PER => PER,
        Country::PHL => PHL,
        Country::PCN => PCN,
        Country::POL => POL,
        Country::PRT => PRT,
        Country::PRI => PRI,
        Country::QAT => QAT,
        Country::KOR => KOR,
        Country::MDA => MDA,
        Country::REU => REU,
        Country::ROU => ROU,
        Country::RUS => RUS,
        Country::RWA => RWA,
        Country::BLM => BLM,
        Country::SHN => SHN,
        Country::KNA => KNA,
        Country::LCA => LCA,
        Country::MAF => MAF,
        Country::SPM => SPM,
        Country::VCT => VCT,
        Country::WSM => WSM,
        Country::SMR => SMR,
        Country::STP => STP,
        Country::SAU => SAU,
        Country::SEN => SEN,
        Country::SRB => SRB,
        Country::SYC => SYC,
        Country::SLE => SLE,
        Country::SGP => SGP,
        Country::SXM => SXM,
        Country::SVK => SVK,
        Country::SVN => SVN,
        Country::SLB => SLB,
        Country::SOM => SOM,
        Country::ZAF => ZAF,
        Country::SGS => SGS,
        Country::SSD => SSD,
        Country::ESP => ESP,
        Country::LKA => LKA,
        Country::PSE => PSE,
        Country::SDN => SDN,
        Country::SUR => SUR,
        Country::SJM => SJM,
        Country::SWE => SWE,
        Country::CHE => CHE,
        Country::SYR => SYR,
        Country::TWN => TWN,
        Country::TJK => TJK,
        Country::THA => THA,
        Country::TLS => TLS,
        Country::TGO => TGO,
        Country::TKL => TKL,
        Country::TON => TON,
        Country::TTO => TTO,
        Country::TUN => TUN,
        Country::TUR => TUR,
        Country::TKM => TKM,
        Country::TCA => TCA,
        Country::TUV => TUV,
        Country::UGA => UGA,
        Country::UKR => UKR,
        Country::ARE => ARE,
        Country::GBR => GBR,
        Country::TZA => TZA,
        Country::UMI => UMI,
        Country::USA => USA,
        Country::VIR => VIR,
        Country::URY => URY,
        Country::UZB => UZB,
        Country::VUT => VUT,
        Country::VEN => VEN,
        Country::VNM => VNM,
        Country::WLF => WLF,
        Country::ESH => ESH,
        Country::YEM => YEM,
        Country::ZMB => ZMB,
        Country::ZWE => ZWE,
        Country::XKX => XKX,
        Country::NAC => NAC,
        _ => return None,
    };
    Some(alpha3)
}