Enum google_geocode::Language[][src]

pub enum Language {
Show variants Arabic, Bulgarian, Bengali, Catalan, Czech, Danish, German, Greek, English, EnglishAustralian, EnglishGreatBritain, Spanish, Basque, Farsi, Finnish, Filipino, French, Galician, Gujarati, Hindi, Croatian, Hungarian, Indonesian, Italian, Hebrew, Japanese, Kannada, Korean, Lithuanian, Latvian, Malayalam, Marathi, Dutch, Norwegian, Polish, Portuguese, PortugueseBrazil, PortuguesePortugal, Romanian, Russian, Slovak, Slovenian, Serbian, Swedish, Tamil, Telugu, Thai, Tagalog, Turkish, Ukrainian, Vietnamese, ChineseSimplified, ChineseTraditional,
}

Language that gets serialized as a language code

From https://developers.google.com/maps/faq#languagesupport

Variants

Arabic

Arabic (ar)

Bulgarian

Bulgarian (bg)

Bengali

Bengali (bn)

Catalan

Catalan (ca)

Czech

Czech (cs)

Danish

Danish (da)

German

German (de)

Greek

Greek (el)

English

English (en)

EnglishAustralian

EnglishAustralian (en-AU)

EnglishGreatBritain

EnglishGreatBritain (en-GB)

Spanish

Spanish (es)

Basque

Basque (eu)

Farsi

Farsi (fa)

Finnish

Finnish (fi)

Filipino

Filipino (fil)

French

French (fr)

Galician

Galician (gl)

Gujarati

Gujarati (gu)

Hindi

Hindi (hi)

Croatian

Croatian (hr)

Hungarian

Hungarian (hu)

Indonesian

Indonesian (id)

Italian

Italian (it)

Hebrew

Hebrew (iw)

Japanese

Japanese (ja)

Kannada

Kannada (kn)

Korean

Korean (ko)

Lithuanian

Lithuanian (lt)

Latvian

Latvian (lv)

Malayalam

Malayalam (ml)

Marathi

Marathi (mr)

Dutch

Dutch (nl)

Norwegian

Norwegian (no)

Polish

Polish (pl)

Portuguese

Portuguese (pt)

PortugueseBrazil

PortugueseBrazil (pt-BR)

PortuguesePortugal

PortuguesePortugal (pt-PT)

Romanian

Romanian (ro)

Russian

Russian (ru)

Slovak

Slovak (sk)

Slovenian

Slovenian (sl)

Serbian

Serbian (sr)

Swedish

Swedish (sv)

Tamil

Tamil (ta)

Telugu

Telugu (te)

Thai

Thai (th)

Tagalog

Tagalog (tl)

Turkish

Turkish (tr)

Ukrainian

Ukrainian (uk)

Vietnamese

Vietnamese (vi)

ChineseSimplified

ChineseSimplified (zh-CN)

ChineseTraditional

ChineseTraditional (zh-TW)

Trait Implementations

impl Clone for Language[src]

fn clone(&self) -> Language[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Language[src]

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

Formats the value using the given formatter. Read more

impl Serialize for Language[src]

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

Serialize this value into the given Serde serializer. Read more

impl Copy for Language[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T> Instrument for T[src]

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

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

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

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

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.