CountryAlpha3

Enum CountryAlpha3 

Source
pub enum CountryAlpha3 {
Show 249 variants AFG = 0, ALB = 1, ATA = 2, DZA = 3, ASM = 4, AND = 5, AGO = 6, ATG = 7, AZE = 8, ARG = 9, AUS = 10, AUT = 11, BHS = 12, BHR = 13, BGD = 14, ARM = 15, BRB = 16, BEL = 17, BMU = 18, BTN = 19, BOL = 20, BIH = 21, BWA = 22, BVT = 23, BRA = 24, BLZ = 25, IOT = 26, SLB = 27, VGB = 28, BRN = 29, BGR = 30, MMR = 31, BDI = 32, BLR = 33, KHM = 34, CMR = 35, CAN = 36, CPV = 37, CYM = 38, CAF = 39, LKA = 40, TCD = 41, CHL = 42, CHN = 43, TWN = 44, CXR = 45, CCK = 46, COL = 47, COM = 48, MYT = 49, COG = 50, COD = 51, COK = 52, CRI = 53, HRV = 54, CUB = 55, CYP = 56, CZE = 57, BEN = 58, DNK = 59, DMA = 60, DOM = 61, ECU = 62, SLV = 63, GNQ = 64, ERI = 65, ETH = 66, EST = 67, FRO = 68, FLK = 69, SGS = 70, FJI = 71, FIN = 72, ALA = 73, FRA = 74, GUF = 75, PYF = 76, ATF = 77, DJI = 78, GAB = 79, GEO = 80, GMB = 81, PSE = 82, DEU = 83, GHA = 84, GIB = 85, KIR = 86, GRC = 87, GRL = 88, GRD = 89, GLP = 90, GUM = 91, GTM = 92, GIN = 93, GUY = 94, HTI = 95, HMD = 96, VAT = 97, HND = 98, HKG = 99, HUN = 100, ISL = 101, IND = 102, IDN = 103, IRN = 104, IRQ = 105, IRL = 106, ISR = 107, ITA = 108, CIV = 109, JAM = 110, JPN = 111, KAZ = 112, JOR = 113, KEN = 114, PRK = 115, KOR = 116, KWT = 117, KGZ = 118, LAO = 119, LBN = 120, LSO = 121, LVA = 122, LBR = 123, LBY = 124, LIE = 125, LTU = 126, LUX = 127, MAC = 128, MDG = 129, MWI = 130, MYS = 131, MDV = 132, MLI = 133, MLT = 134, MTQ = 135, MRT = 136, MUS = 137, MEX = 138, MCO = 139, MNG = 140, MDA = 141, MNE = 142, MSR = 143, MAR = 144, MOZ = 145, OMN = 146, NAM = 147, NRU = 148, NPL = 149, NLD = 150, CUW = 151, ABW = 152, SXM = 153, BES = 154, NCL = 155, VUT = 156, NZL = 157, NIC = 158, NER = 159, NGA = 160, NIU = 161, NFK = 162, NOR = 163, MNP = 164, UMI = 165, FSM = 166, MHL = 167, PLW = 168, PAK = 169, PAN = 170, PNG = 171, PRY = 172, PER = 173, PHL = 174, PCN = 175, POL = 176, PRT = 177, GNB = 178, TLS = 179, PRI = 180, QAT = 181, REU = 182, ROU = 183, RUS = 184, RWA = 185, BLM = 186, SHN = 187, KNA = 188, LCA = 189, AIA = 190, MAF = 191, SPM = 192, VCT = 193, SMR = 194, STP = 195, SAU = 196, SEN = 197, SRB = 198, SYC = 199, SLE = 200, SGP = 201, SVK = 202, VNM = 203, SVN = 204, SOM = 205, ZAF = 206, ZWE = 207, ESP = 208, SSD = 209, SDN = 210, ESH = 211, SUR = 212, SJM = 213, SWZ = 214, SWE = 215, CHE = 216, SYR = 217, TJK = 218, THA = 219, TGO = 220, TKL = 221, TON = 222, ARE = 223, TUN = 224, TTO = 225, TUR = 226, TKM = 227, TCA = 228, TUV = 229, UGA = 230, UKR = 231, MKD = 232, EGY = 233, GBR = 234, GGY = 235, JEY = 236, IMN = 237, TZA = 238, USA = 239, VIR = 240, BFA = 241, URY = 242, UZB = 243, VEN = 244, WLF = 245, WSM = 246, YEM = 247, ZMB = 248,
}

Variants§

§

AFG = 0

§

ALB = 1

§

ATA = 2

§

DZA = 3

§

ASM = 4

§

AND = 5

§

AGO = 6

§

ATG = 7

§

AZE = 8

§

ARG = 9

§

AUS = 10

§

AUT = 11

§

BHS = 12

§

BHR = 13

§

BGD = 14

§

ARM = 15

§

BRB = 16

§

BEL = 17

§

BMU = 18

§

BTN = 19

§

BOL = 20

§

BIH = 21

§

BWA = 22

§

BVT = 23

§

BRA = 24

§

BLZ = 25

§

IOT = 26

§

SLB = 27

§

VGB = 28

§

BRN = 29

§

BGR = 30

§

MMR = 31

§

BDI = 32

§

BLR = 33

§

KHM = 34

§

CMR = 35

§

CAN = 36

§

CPV = 37

§

CYM = 38

§

CAF = 39

§

LKA = 40

§

TCD = 41

§

CHL = 42

§

CHN = 43

§

TWN = 44

§

CXR = 45

§

CCK = 46

§

COL = 47

§

COM = 48

§

MYT = 49

§

COG = 50

§

COD = 51

§

COK = 52

§

CRI = 53

§

HRV = 54

§

CUB = 55

§

CYP = 56

§

CZE = 57

§

BEN = 58

§

DNK = 59

§

DMA = 60

§

DOM = 61

§

ECU = 62

§

SLV = 63

§

GNQ = 64

§

ERI = 65

§

ETH = 66

§

EST = 67

§

FRO = 68

§

FLK = 69

§

SGS = 70

§

FJI = 71

§

FIN = 72

§

ALA = 73

§

FRA = 74

§

GUF = 75

§

PYF = 76

§

ATF = 77

§

DJI = 78

§

GAB = 79

§

GEO = 80

§

GMB = 81

§

PSE = 82

§

DEU = 83

§

GHA = 84

§

GIB = 85

§

KIR = 86

§

GRC = 87

§

GRL = 88

§

GRD = 89

§

GLP = 90

§

GUM = 91

§

GTM = 92

§

GIN = 93

§

GUY = 94

§

HTI = 95

§

HMD = 96

§

VAT = 97

§

HND = 98

§

HKG = 99

§

HUN = 100

§

ISL = 101

§

IND = 102

§

IDN = 103

§

IRN = 104

§

IRQ = 105

§

IRL = 106

§

ISR = 107

§

ITA = 108

§

CIV = 109

§

JAM = 110

§

JPN = 111

§

KAZ = 112

§

JOR = 113

§

KEN = 114

§

PRK = 115

§

KOR = 116

§

KWT = 117

§

KGZ = 118

§

LAO = 119

§

LBN = 120

§

LSO = 121

§

LVA = 122

§

LBR = 123

§

LBY = 124

§

LIE = 125

§

LTU = 126

§

LUX = 127

§

MAC = 128

§

MDG = 129

§

MWI = 130

§

MYS = 131

§

MDV = 132

§

MLI = 133

§

MLT = 134

§

MTQ = 135

§

MRT = 136

§

MUS = 137

§

MEX = 138

§

MCO = 139

§

MNG = 140

§

MDA = 141

§

MNE = 142

§

MSR = 143

§

MAR = 144

§

MOZ = 145

§

OMN = 146

§

NAM = 147

§

NRU = 148

§

NPL = 149

§

NLD = 150

§

CUW = 151

§

ABW = 152

§

SXM = 153

§

BES = 154

§

NCL = 155

§

VUT = 156

§

NZL = 157

§

NIC = 158

§

NER = 159

§

NGA = 160

§

NIU = 161

§

NFK = 162

§

NOR = 163

§

MNP = 164

§

UMI = 165

§

FSM = 166

§

MHL = 167

§

PLW = 168

§

PAK = 169

§

PAN = 170

§

PNG = 171

§

PRY = 172

§

PER = 173

§

PHL = 174

§

PCN = 175

§

POL = 176

§

PRT = 177

§

GNB = 178

§

TLS = 179

§

PRI = 180

§

QAT = 181

§

REU = 182

§

ROU = 183

§

RUS = 184

§

RWA = 185

§

BLM = 186

§

SHN = 187

§

KNA = 188

§

LCA = 189

§

AIA = 190

§

MAF = 191

§

SPM = 192

§

VCT = 193

§

SMR = 194

§

STP = 195

§

SAU = 196

§

SEN = 197

§

SRB = 198

§

SYC = 199

§

SLE = 200

§

SGP = 201

§

SVK = 202

§

VNM = 203

§

SVN = 204

§

SOM = 205

§

ZAF = 206

§

ZWE = 207

§

ESP = 208

§

SSD = 209

§

SDN = 210

§

ESH = 211

§

SUR = 212

§

SJM = 213

§

SWZ = 214

§

SWE = 215

§

CHE = 216

§

SYR = 217

§

TJK = 218

§

THA = 219

§

TGO = 220

§

TKL = 221

§

TON = 222

§

ARE = 223

§

TUN = 224

§

TTO = 225

§

TUR = 226

§

TKM = 227

§

TCA = 228

§

TUV = 229

§

UGA = 230

§

UKR = 231

§

MKD = 232

§

EGY = 233

§

GBR = 234

§

GGY = 235

§

JEY = 236

§

IMN = 237

§

TZA = 238

§

USA = 239

§

VIR = 240

§

BFA = 241

§

URY = 242

§

UZB = 243

§

VEN = 244

§

WLF = 245

§

WSM = 246

§

YEM = 247

§

ZMB = 248

Trait Implementations§

Source§

impl Clone for CountryAlpha3

Source§

fn clone(&self) -> CountryAlpha3

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CountryAlpha3

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for CountryAlpha3

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<CountryAlpha2> for CountryAlpha3

Source§

fn from(value: CountryAlpha2) -> Self

Converts to this type from the input type.
Source§

impl From<CountryAlpha3> for Country

Source§

fn from(value: CountryAlpha3) -> Self

Converts to this type from the input type.
Source§

impl From<CountryAlpha3> for CountryAlpha2

Source§

fn from(value: CountryAlpha3) -> Self

Converts to this type from the input type.
Source§

impl From<CountryAlpha3> for u16

Source§

fn from(value: CountryAlpha3) -> Self

Converts to this type from the input type.
Source§

impl FromStr for CountryAlpha3

Source§

type Err = ParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for CountryAlpha3

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for CountryAlpha3

Source§

fn eq(&self, other: &CountryAlpha3) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<u16> for CountryAlpha3

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: u16) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Copy for CountryAlpha3

Source§

impl Eq for CountryAlpha3

Source§

impl StructuralPartialEq for CountryAlpha3

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoResult<T> for T

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.