Enum Country

Source
pub enum Country {
Show 250 variants Zz, Ad, Ae, Af, Ag, Ai, Al, Am, Ao, Aq, Ar, As, At, Au, Aw, Ax, Az, Ba, Bb, Bd, Be, Bf, Bg, Bh, Bi, Bj, Bl, Bm, Bn, Bo, Bq, Br, Bs, Bt, Bv, Bw, By, Bz, Ca, Cc, Cd, Cf, Cg, Ch, Ci, Ck, Cl, Cm, Cn, Co, Cr, Cu, Cv, Cw, Cx, Cy, Cz, De, Dj, Dk, Dm, Do, Dz, Ec, Ee, Eg, Eh, Er, Es, Et, Fi, Fj, Fk, Fm, Fo, Fr, Ga, Gb, Gd, Ge, Gf, Gg, Gh, Gi, Gl, Gm, Gn, Gp, Gq, Gr, Gs, Gt, Gu, Gw, Gy, Hk, Hm, Hn, Hr, Ht, Hu, Id, Ie, Il, Im, In, Io, Iq, Ir, Is, It, Je, Jm, Jo, Jp, Ke, Kg, Kh, Ki, Km, Kn, Kp, Kr, Kw, Ky, Kz, La, Lb, Lc, Li, Lk, Lr, Ls, Lt, Lu, Lv, Ly, Ma, Mc, Md, Me, Mf, Mg, Mh, Mk, Ml, Mm, Mn, Mo, Mp, Mq, Mr, Ms, Mt, Mu, Mv, Mw, Mx, My, Mz, Na, Nc, Ne, Nf, Ng, Ni, Nl, No, Np, Nr, Nu, Nz, Om, Pa, Pe, Pf, Pg, Ph, Pk, Pl, Pm, Pn, Pr, Ps, Pt, Pw, Py, Qa, Re, Ro, Rs, Ru, Rw, Sa, Sb, Sc, Sd, Se, Sg, Sh, Si, Sj, Sk, Sl, Sm, Sn, So, Sr, Ss, St, Sv, Sx, Sy, Sz, Tc, Td, Tf, Tg, Th, Tj, Tk, Tl, Tm, Tn, To, Tr, Tt, Tv, Tw, Tz, Ua, Ug, Um, Us, Uy, Uz, Va, Vc, Ve, Vg, Vi, Vn, Vu, Wf, Ws, Ye, Yt, Za, Zm, Zw,
}
Expand description

Indicates the country associated with another entity, such as a business.

Values are in ISO 3166-1-alpha-2 format.

Variants§

§

Zz

Unknown

§

Ad

Andorra

§

Ae

United Arab Emirates

§

Af

Afghanistan

§

Ag

Antigua and Barbuda

§

Ai

Anguilla

§

Al

Albania

§

Am

Armenia

§

Ao

Angola

§

Aq

Antartica

§

Ar

Argentina

§

As

American Samoa

§

At

Austria

§

Au

Australia

§

Aw

Aruba

§

Ax

Åland Islands

§

Az

Azerbaijan

§

Ba

Bosnia and Herzegovina

§

Bb

Barbados

§

Bd

Bangladesh

§

Be

Belgium

§

Bf

Burkina Faso

§

Bg

Bulgaria

§

Bh

Bahrain

§

Bi

Burundi

§

Bj

Benin

§

Bl

Saint Barthélemy

§

Bm

Bermuda

§

Bn

Brunei

§

Bo

Bolivia

§

Bq

Bonaire

§

Br

Brazil

§

Bs

Bahamas

§

Bt

Bhutan

§

Bv

Bouvet Island

§

Bw

Botswana

§

By

Belarus

§

Bz

Belize

§

Ca

Canada

§

Cc

Cocos Islands

§

Cd

Democratic Republic of the Congo

§

Cf

Central African Republic

§

Cg

Congo

§

Ch

Switzerland

§

Ci

Ivory Coast

§

Ck

Cook Islands

§

Cl

Chile

§

Cm

Cameroon

§

Cn

China

§

Co

Colombia

§

Cr

Costa Rica

§

Cu

Cuba

§

Cv

Cabo Verde

§

Cw

Curaçao

§

Cx

Christmas Island

§

Cy

Cyprus

§

Cz

Czechia

§

De

Germany

§

Dj

Djibouti

§

Dk

Denmark

§

Dm

Dominica

§

Do

Dominican Republic

§

Dz

Algeria

§

Ec

Ecuador

§

Ee

Estonia

§

Eg

Egypt

§

Eh

Western Sahara

§

Er

Eritrea

§

Es

Spain

§

Et

Ethiopia

§

Fi

Finland

§

Fj

Fiji

§

Fk

Falkland Islands

§

Fm

Federated States of Micronesia

§

Fo

Faroe Islands

§

Fr

France

§

Ga

Gabon

§

Gb

United Kingdom

§

Gd

Grenada

§

Ge

Georgia

§

Gf

French Guiana

§

Gg

Guernsey

§

Gh

Ghana

§

Gi

Gibraltar

§

Gl

Greenland

§

Gm

Gambia

§

Gn

Guinea

§

Gp

Guadeloupe

§

Gq

Equatorial Guinea

§

Gr

Greece

§

Gs

South Georgia and the South Sandwich Islands

§

Gt

Guatemala

§

Gu

Guam

§

Gw

Guinea-Bissau

§

Gy

Guyana

§

Hk

Hong Kong

§

Hm

Heard Island and McDonald Islands

§

Hn

Honduras

§

Hr

Croatia

§

Ht

Haiti

§

Hu

Hungary

§

Id

Indonesia

§

Ie

Ireland

§

Il

Israel

§

Im

Isle of Man

§

In

India

§

Io

British Indian Ocean Territory

§

Iq

Iraq

§

Ir

Iran

§

Is

Iceland

§

It

Italy

§

Je

Jersey

§

Jm

Jamaica

§

Jo

Jordan

§

Jp

Japan

§

Ke

Kenya

§

Kg

Kyrgyzstan

§

Kh

Cambodia

§

Ki

Kiribati

§

Km

Comoros

§

Kn

Saint Kitts and Nevis

§

Kp

Democratic People’s Republic of Korea

§

Kr

Republic of Korea

§

Kw

Kuwait

§

Ky

Cayman Islands

§

Kz

Kazakhstan

§

La

Lao People’s Democratic Republic

§

Lb

Lebanon

§

Lc

Saint Lucia

§

Li

Liechtenstein

§

Lk

Sri Lanka

§

Lr

Liberia

§

Ls

Lesotho

§

Lt

Lithuania

§

Lu

Luxembourg

§

Lv

Latvia

§

Ly

Libya

§

Ma

Morocco

§

Mc

Monaco

§

Md

Moldova

§

Me

Montenegro

§

Mf

Saint Martin

§

Mg

Madagascar

§

Mh

Marshall Islands

§

Mk

North Macedonia

§

Ml

Mali

§

Mm

Myanmar

§

Mn

Mongolia

§

Mo

Macao

§

Mp

Northern Mariana Islands

§

Mq

Martinique

§

Mr

Mauritania

§

Ms

Montserrat

§

Mt

Malta

§

Mu

Mauritius

§

Mv

Maldives

§

Mw

Malawi

§

Mx

Mexico

§

My

Malaysia

§

Mz

Mozambique

§

Na

Namibia

§

Nc

New Caledonia

§

Ne

Niger

§

Nf

Norfolk Island

§

Ng

Nigeria

§

Ni

Nicaragua

§

Nl

Netherlands

§

No

Norway

§

Np

Nepal

§

Nr

Nauru

§

Nu

Niue

§

Nz

New Zealand

§

Om

Oman

§

Pa

Panama

§

Pe

Peru

§

Pf

French Polynesia

§

Pg

Papua New Guinea

§

Ph

Philippines

§

Pk

Pakistan

§

Pl

Poland

§

Pm

Saint Pierre and Miquelon

§

Pn

Pitcairn

§

Pr

Puerto Rico

§

Ps

Palestine

§

Pt

Portugal

§

Pw

Palau

§

Py

Paraguay

§

Qa

Qatar

§

Re

Réunion

§

Ro

Romania

§

Rs

Serbia

§

Ru

Russia

§

Rw

Rwanda

§

Sa

Saudi Arabia

§

Sb

Solomon Islands

§

Sc

Seychelles

§

Sd

Sudan

§

Se

Sweden

§

Sg

Singapore

§

Sh

Saint Helena, Ascension and Tristan da Cunha

§

Si

Slovenia

§

Sj

Svalbard and Jan Mayen

§

Sk

Slovakia

§

Sl

Sierra Leone

§

Sm

San Marino

§

Sn

Senegal

§

So

Somalia

§

Sr

Suriname

§

Ss

South Sudan

§

St

Sao Tome and Principe

§

Sv

El Salvador

§

Sx

Sint Maarten

§

Sy

Syrian Arab Republic

§

Sz

Eswatini

§

Tc

Turks and Caicos Islands

§

Td

Chad

§

Tf

French Southern Territories

§

Tg

Togo

§

Th

Thailand

§

Tj

Tajikistan

§

Tk

Tokelau

§

Tl

Timor-Leste

§

Tm

Turkmenistan

§

Tn

Tunisia

§

To

Tonga

§

Tr

Turkey

§

Tt

Trinidad and Tobago

§

Tv

Tuvalu

§

Tw

Taiwan

§

Tz

Tanzania

§

Ua

Ukraine

§

Ug

Uganda

§

Um

United States Minor Outlying Islands

§

Us

United States of America

§

Uy

Uruguay

§

Uz

Uzbekistan

§

Va

Vatican City

§

Vc

Saint Vincent and the Grenadines

§

Ve

Venezuela

§

Vg

British Virgin Islands

§

Vi

U.S. Virgin Islands

§

Vn

Vietnam

§

Vu

Vanuatu

§

Wf

Wallis and Futuna

§

Ws

Samoa

§

Ye

Yemen

§

Yt

Mayotte

§

Za

South Africa

§

Zm

Zambia

§

Zw

Zimbabwe

Trait Implementations§

Source§

impl Clone for Country

Source§

fn clone(&self) -> Country

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Country

Source§

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

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

impl<'de> Deserialize<'de> for Country

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for Country

Source§

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

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for Country

Source§

impl StructuralPartialEq for Country

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<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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,

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, 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.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,