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

Variants§

§

AFG

§

ALB

§

ATA

§

DZA

§

ASM

§

AND

§

AGO

§

ATG

§

AZE

§

ARG

§

AUS

§

AUT

§

BHS

§

BHR

§

BGD

§

ARM

§

BRB

§

BEL

§

BMU

§

BTN

§

BOL

§

BIH

§

BWA

§

BVT

§

BRA

§

BLZ

§

IOT

§

SLB

§

VGB

§

BRN

§

BGR

§

MMR

§

BDI

§

BLR

§

KHM

§

CMR

§

CAN

§

CPV

§

CYM

§

CAF

§

LKA

§

TCD

§

CHL

§

CHN

§

TWN

§

CXR

§

CCK

§

COL

§

COM

§

MYT

§

COG

§

COD

§

COK

§

CRI

§

HRV

§

CUB

§

CYP

§

CZE

§

BEN

§

DNK

§

DMA

§

DOM

§

ECU

§

SLV

§

GNQ

§

ERI

§

ETH

§

EST

§

FRO

§

FLK

§

SGS

§

FJI

§

FIN

§

ALA

§

FRA

§

GUF

§

PYF

§

ATF

§

DJI

§

GAB

§

GEO

§

GMB

§

PSE

§

DEU

§

GHA

§

GIB

§

KIR

§

GRC

§

GRL

§

GRD

§

GLP

§

GUM

§

GTM

§

GIN

§

GUY

§

HTI

§

HMD

§

VAT

§

HND

§

HKG

§

HUN

§

ISL

§

IND

§

IDN

§

IRN

§

IRQ

§

IRL

§

ISR

§

ITA

§

CIV

§

JAM

§

JPN

§

KAZ

§

JOR

§

KEN

§

PRK

§

KOR

§

KWT

§

KGZ

§

LAO

§

LBN

§

LSO

§

LVA

§

LBR

§

LBY

§

LIE

§

LTU

§

LUX

§

MAC

§

MDG

§

MWI

§

MYS

§

MDV

§

MLI

§

MLT

§

MTQ

§

MRT

§

MUS

§

MEX

§

MCO

§

MNG

§

MDA

§

MNE

§

MSR

§

MAR

§

MOZ

§

OMN

§

NAM

§

NRU

§

NPL

§

NLD

§

CUW

§

ABW

§

SXM

§

BES

§

NCL

§

VUT

§

NZL

§

NIC

§

NER

§

NGA

§

NIU

§

NFK

§

NOR

§

MNP

§

UMI

§

FSM

§

MHL

§

PLW

§

PAK

§

PAN

§

PNG

§

PRY

§

PER

§

PHL

§

PCN

§

POL

§

PRT

§

GNB

§

TLS

§

PRI

§

QAT

§

REU

§

ROU

§

RUS

§

RWA

§

BLM

§

SHN

§

KNA

§

LCA

§

AIA

§

MAF

§

SPM

§

VCT

§

SMR

§

STP

§

SAU

§

SEN

§

SRB

§

SYC

§

SLE

§

SGP

§

SVK

§

VNM

§

SVN

§

SOM

§

ZAF

§

ZWE

§

ESP

§

SSD

§

SDN

§

ESH

§

SUR

§

SJM

§

SWZ

§

SWE

§

CHE

§

SYR

§

TJK

§

THA

§

TGO

§

TKL

§

TON

§

ARE

§

TUN

§

TTO

§

TUR

§

TKM

§

TCA

§

TUV

§

UGA

§

UKR

§

MKD

§

EGY

§

GBR

§

GGY

§

JEY

§

IMN

§

TZA

§

USA

§

VIR

§

BFA

§

URY

§

UZB

§

VEN

§

WLF

§

WSM

§

YEM

§

ZMB

Trait Implementations§

source§

impl Clone for CountryAlpha3

source§

fn clone(&self) -> CountryAlpha3

Returns a copy 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

§

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<CountryAlpha3> for CountryAlpha3

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl TryFrom<u16> for CountryAlpha3

§

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 StructuralEq for CountryAlpha3

source§

impl StructuralPartialEq for CountryAlpha3

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. 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 Twhere 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

§

type Err = Infallible

source§

fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>

source§

impl<T> ToOwned for Twhere T: Clone,

§

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 Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

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

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

§

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 Twhere U: TryFrom<T>,

§

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.