pub enum Iso3166_1_alpha_3 {
Show 249 variants Afg, Ala, Alb, Dza, Asm, And, Ago, Aia, Ata, Atg, Arg, Arm, Abw, Aus, Aut, Aze, Bhs, Bhr, Bgd, Brb, Blr, Bel, Blz, Ben, Bmu, Btn, Bol, Bes, Bih, Bwa, Bvt, Bra, Iot, Brn, Bgr, Bfa, Bdi, Cpv, Khm, Cmr, Can, Cym, Caf, Tcd, Chl, Chn, Cxr, Cck, Col, Com, Cog, Cod, Cok, Cri, Civ, Hrv, Cub, Cuw, Cyp, Cze, Dnk, Dji, Dma, Dom, Ecu, Egy, Slv, Gnq, Eri, Est, Swz, Eth, Flk, Fro, Fji, Fin, Fra, Guf, Pyf, Atf, Gab, Gmb, Geo, Deu, Gha, Gib, Grc, Grl, Grd, Glp, Gum, Gtm, Ggy, Gin, Gnb, Guy, Hti, Hmd, Vat, Hnd, Hkg, Hun, Isl, Ind, Idn, Irn, Irq, Irl, Imn, Isr, Ita, Jam, Jpn, Jey, Jor, Kaz, Ken, Kir, Prk, Kor, Kwt, Kgz, Lao, Lva, Lbn, Lso, Lbr, Lby, Lie, Ltu, Lux, Mac, Mdg, Mwi, Mys, Mdv, Mli, Mlt, Mhl, Mtq, Mrt, Mus, Myt, Mex, Fsm, Mda, Mco, Mng, Mne, Msr, Mar, Moz, Mmr, Nam, Nru, Npl, Nld, Ncl, Nzl, Nic, Ner, Nga, Niu, Nfk, Mkd, Mnp, Nor, Omn, Pak, Plw, Pse, Pan, Png, Pry, Per, Phl, Pcn, Pol, Prt, Pri, Qat, Reu, Rou, Rus, Rwa, Blm, Shn, Kna, Lca, Maf, Spm, Vct, Wsm, Smr, Stp, Sau, Sen, Srb, Syc, Sle, Sgp, Sxm, Svk, Svn, Slb, Som, Zaf, Sgs, Ssd, Esp, Lka, Sdn, Sur, Sjm, Swe, Che, Syr, Twn, Tjk, Tza, Tha, Tls, Tgo, Tkl, Ton, Tto, Tun, Tur, Tkm, Tca, Tuv, Uga, Ukr, Are, Gbr, Usa, Umi, Ury, Uzb, Vut, Ven, Vnm, Vgb, Vir, Wlf, Esh, Yem, Zmb, Zwe,
}
Expand description

Enumeration over all possible ISO 3166-1 alpha-3 country codes

Variants§

§

Afg

§

Ala

§

Alb

§

Dza

§

Asm

§

And

§

Ago

§

Aia

§

Ata

§

Atg

§

Arg

§

Arm

§

Abw

§

Aus

§

Aut

§

Aze

§

Bhs

§

Bhr

§

Bgd

§

Brb

§

Blr

§

Bel

§

Blz

§

Ben

§

Bmu

§

Btn

§

Bol

§

Bes

§

Bih

§

Bwa

§

Bvt

§

Bra

§

Iot

§

Brn

§

Bgr

§

Bfa

§

Bdi

§

Cpv

§

Khm

§

Cmr

§

Can

§

Cym

§

Caf

§

Tcd

§

Chl

§

Chn

§

Cxr

§

Cck

§

Col

§

Com

§

Cog

§

Cod

§

Cok

§

Cri

§

Civ

§

Hrv

§

Cub

§

Cuw

§

Cyp

§

Cze

§

Dnk

§

Dji

§

Dma

§

Dom

§

Ecu

§

Egy

§

Slv

§

Gnq

§

Eri

§

Est

§

Swz

§

Eth

§

Flk

§

Fro

§

Fji

§

Fin

§

Fra

§

Guf

§

Pyf

§

Atf

§

Gab

§

Gmb

§

Geo

§

Deu

§

Gha

§

Gib

§

Grc

§

Grl

§

Grd

§

Glp

§

Gum

§

Gtm

§

Ggy

§

Gin

§

Gnb

§

Guy

§

Hti

§

Hmd

§

Vat

§

Hnd

§

Hkg

§

Hun

§

Isl

§

Ind

§

Idn

§

Irn

§

Irq

§

Irl

§

Imn

§

Isr

§

Ita

§

Jam

§

Jpn

§

Jey

§

Jor

§

Kaz

§

Ken

§

Kir

§

Prk

§

Kor

§

Kwt

§

Kgz

§

Lao

§

Lva

§

Lbn

§

Lso

§

Lbr

§

Lby

§

Lie

§

Ltu

§

Lux

§

Mac

§

Mdg

§

Mwi

§

Mys

§

Mdv

§

Mli

§

Mlt

§

Mhl

§

Mtq

§

Mrt

§

Mus

§

Myt

§

Mex

§

Fsm

§

Mda

§

Mco

§

Mng

§

Mne

§

Msr

§

Mar

§

Moz

§

Mmr

§

Nam

§

Nru

§

Npl

§

Nld

§

Ncl

§

Nzl

§

Nic

§

Ner

§

Nga

§

Niu

§

Nfk

§

Mkd

§

Mnp

§

Nor

§

Omn

§

Pak

§

Plw

§

Pse

§

Pan

§

Png

§

Pry

§

Per

§

Phl

§

Pcn

§

Pol

§

Prt

§

Pri

§

Qat

§

Reu

§

Rou

§

Rus

§

Rwa

§

Blm

§

Shn

§

Kna

§

Lca

§

Maf

§

Spm

§

Vct

§

Wsm

§

Smr

§

Stp

§

Sau

§

Sen

§

Srb

§

Syc

§

Sle

§

Sgp

§

Sxm

§

Svk

§

Svn

§

Slb

§

Som

§

Zaf

§

Sgs

§

Ssd

§

Esp

§

Lka

§

Sdn

§

Sur

§

Sjm

§

Swe

§

Che

§

Syr

§

Twn

§

Tjk

§

Tza

§

Tha

§

Tls

§

Tgo

§

Tkl

§

Ton

§

Tto

§

Tun

§

Tur

§

Tkm

§

Tca

§

Tuv

§

Uga

§

Ukr

§

Are

§

Gbr

§

Usa

§

Umi

§

Ury

§

Uzb

§

Vut

§

Ven

§

Vnm

§

Vgb

§

Vir

§

Wlf

§

Esh

§

Yem

§

Zmb

§

Zwe

Trait Implementations§

source§

impl Clone for Iso3166_1_alpha_3

source§

fn clone(&self) -> Iso3166_1_alpha_3

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 Country for Iso3166_1_alpha_3

source§

fn name(&self) -> &'static str

Returns the country’s name
source§

fn numeric(&self) -> u16

Returns the country’s ISO 3166-1 numeric code
source§

fn code(&self) -> &'static str

Returns the country’s corresponding langugae code as a &str based on the underlying format
source§

impl Debug for Iso3166_1_alpha_3

source§

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

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

impl Display for Iso3166_1_alpha_3

source§

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

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

impl From<Iso3166_1_alpha_2> for Iso3166_1_alpha_3

source§

fn from(c: Iso3166_1_alpha_2) -> Self

Converts to this type from the input type.
source§

impl From<Iso3166_1_alpha_3> for Iso3166_1_alpha_2

source§

fn from(c: Iso3166_1_alpha_3) -> Self

Converts to this type from the input type.
source§

impl FromStr for Iso3166_1_alpha_3

§

type Err = Error

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

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

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

impl Hash for Iso3166_1_alpha_3

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 Iso3166_1_alpha_3

source§

fn eq(&self, other: &Iso3166_1_alpha_3) -> 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 Iso3166_1_alpha_3

§

type Error = Error

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

fn try_from(c: u16) -> Result<Self, <Self as TryFrom<u16>>::Error>

Performs the conversion.
source§

impl Copy for Iso3166_1_alpha_3

source§

impl Eq for Iso3166_1_alpha_3

source§

impl StructuralEq for Iso3166_1_alpha_3

source§

impl StructuralPartialEq for Iso3166_1_alpha_3

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> 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> ToOwned for T
where 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 T
where 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 T
where 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 T
where 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.