Enum google_maps::directions::response::transit_currency::TransitCurrency[][src]

pub enum TransitCurrency {
Show variants UnitedArabEmiratesDirham, AfghanAfghani, AlbanianLek, ArmenianDram, NetherlandsAntilleanGuilder, AngolanKwanza, ArgentinePeso, AustralianDollar, ArubanFlorin, AzerbaijaniManat, BosniaAndHerzegovinaConvertibleMark, BarbadosDollar, BangladeshiTaka, BulgarianLev, BahrainiDinar, BurundianFranc, BermudianDollar, BruneiDollar, Boliviano, BolivianMvdol, BrazilianReal, BahamianDollar, BhutaneseNgultrum, BotswanaPula, BelarusianRuble, BelizeDollar, CanadianDollar, CongoleseFranc, WirEuro, SwissFranc, WirFranc, UnidadDeFomento, ChileanPeso, RenminbiYuan, ColombianPeso, UnidadDeValorReal, CostaRicanColon, CubanConvertiblePeso, CubanPeso, CapeVerdeanEscudo, CzechKoruna, DjiboutianFranc, DanishKrone, DominicanPeso, AlgerianDinar, EgyptianPound, EritreanNakfa, EthiopianBirr, Euro, FijiDollar, FalklandIslandsPound, PoundSterling, GeorgianLari, GhanaianCedi, GibraltarPound, GambianDalasi, GuineanFranc, GuatemalanQuetzal, GuyaneseDollar, HongKongDollar, HonduranLempira, CroatianKuna, HaitianGourde, HungarianForint, IndonesianRupiah, IsraeliNewShekel, IndianRupee, IraqiDinar, IranianRial, IcelandicKrona, JamaicanDollar, JordanianDinar, JapaneseYen, KenyanShilling, KyrgyzstaniSom, CambodianRiel, ComoroFranc, NorthKoreanWon, SouthKoreanWon, KuwaitiDinar, CaymanIslandsDollar, KazakhstaniTenge, LaoKip, LebanesePound, SriLankanRupee, LiberianDollar, LesothoLoti, LibyanDinar, MoroccanDirham, MoldovanLeu, MalagasyAriary, MacedonianDenar, MyanmarKyat, MongolianTogrog, MacanesePataca, MauritanianOuguiya, MauritianRupee, MaldivianRufiyaa, MalawianKwacha, MexicanPeso, MexicanUnidadDeInversion, MalaysianRinggit, MozambicanMetical, NamibianDollar, NigerianNaira, NicaraguanCordoba, NorwegianKrone, NepaleseRupee, NewZealandDollar, OmaniRial, PanamanianBalboa, PeruvianSol, PapuaNewGuineanKina, PhilippinePeso, PakistaniRupee, PolishZloty, ParaguayanGuarani, QatariRiyal, RomanianLeu, SerbianDinar, RussianRuble, RwandanFranc, SaudiRiyal, SolomonIslandsDollar, SeychellesRupee, SudanesePound, SwedishKrona, SingaporeDollar, SaintHelenaPound, SierraLeoneanLeone, SomaliShilling, SurinameseDollar, SouthSudanesePound, SaoTomeAndPrincipeDobra, SalvadoranColon, SyrianPound, SwaziLilangeni, ThaiBaht, TajikistaniSomoni, TurkmenistanManat, TunisianDinar, TonganPaanga, TurkishLira, TrinidadAndTobagoDollar, NewTaiwanDollar, TanzanianShilling, UkrainianHryvnia, UgandanShilling, UnitedStatesDollar, UnitedStatesDollarNextDay, UruguayPesoEnUnidadesIndexadas, UruguayanPeso, UnidadPrevisional, UzbekistanSom, VenezuelanBolivarSoberano, VietnameseDong, VanuatuVatu, SamoanTala, CfaFrancBeac, Silver, Gold, EuropeanCompositeUnit, EuropeanMonetaryUnit, EuropeanUnitOfAccount9, EuropeanUnitOfAccount17, EastCaribbeanDollar, SpecialDrawingRights, CfaFrancBceao, Palladium, CfpFranc, Platinum, Sucre, CodeReservedForTesting, AdbUnitOfAccount, NoCurrency, YemeniRial, SouthAfricanRand, ZambianKwacha, ZimbabweanDollar,
}
Expand description

A comprehensive list of currencies. At the moment this is used only for Google Maps Transit Directions. The intent behind having Serde convert the currency code String to an enum is for efficient currency conversions, information lookups, and manipulation in the future.

Variants

UnitedArabEmiratesDirham
AfghanAfghani
AlbanianLek
ArmenianDram
NetherlandsAntilleanGuilder
AngolanKwanza
ArgentinePeso
AustralianDollar
ArubanFlorin
AzerbaijaniManat
BosniaAndHerzegovinaConvertibleMark
BarbadosDollar
BangladeshiTaka
BulgarianLev
BahrainiDinar
BurundianFranc
BermudianDollar
BruneiDollar
Boliviano
BolivianMvdol
BrazilianReal
BahamianDollar
BhutaneseNgultrum
BotswanaPula
BelarusianRuble
BelizeDollar
CanadianDollar
CongoleseFranc
WirEuro
SwissFranc
WirFranc
UnidadDeFomento
ChileanPeso
RenminbiYuan
ColombianPeso
UnidadDeValorReal
CostaRicanColon
CubanConvertiblePeso
CubanPeso
CapeVerdeanEscudo
CzechKoruna
DjiboutianFranc
DanishKrone
DominicanPeso
AlgerianDinar
EgyptianPound
EritreanNakfa
EthiopianBirr
Euro
FijiDollar
FalklandIslandsPound
PoundSterling
GeorgianLari
GhanaianCedi
GibraltarPound
GambianDalasi
GuineanFranc
GuatemalanQuetzal
GuyaneseDollar
HongKongDollar
HonduranLempira
CroatianKuna
HaitianGourde
HungarianForint
IndonesianRupiah
IsraeliNewShekel
IndianRupee
IraqiDinar
IranianRial
IcelandicKrona
JamaicanDollar
JordanianDinar
JapaneseYen
KenyanShilling
KyrgyzstaniSom
CambodianRiel
ComoroFranc
NorthKoreanWon
SouthKoreanWon
KuwaitiDinar
CaymanIslandsDollar
KazakhstaniTenge
LaoKip
LebanesePound
SriLankanRupee
LiberianDollar
LesothoLoti
LibyanDinar
MoroccanDirham
MoldovanLeu
MalagasyAriary
MacedonianDenar
MyanmarKyat
MongolianTogrog
MacanesePataca
MauritanianOuguiya
MauritianRupee
MaldivianRufiyaa
MalawianKwacha
MexicanPeso
MexicanUnidadDeInversion
MalaysianRinggit
MozambicanMetical
NamibianDollar
NigerianNaira
NicaraguanCordoba
NorwegianKrone
NepaleseRupee
NewZealandDollar
OmaniRial
PanamanianBalboa
PeruvianSol
PapuaNewGuineanKina
PhilippinePeso
PakistaniRupee
PolishZloty
ParaguayanGuarani
QatariRiyal
RomanianLeu
SerbianDinar
RussianRuble
RwandanFranc
SaudiRiyal
SolomonIslandsDollar
SeychellesRupee
SudanesePound
SwedishKrona
SingaporeDollar
SaintHelenaPound
SierraLeoneanLeone
SomaliShilling
SurinameseDollar
SouthSudanesePound
SaoTomeAndPrincipeDobra
SalvadoranColon
SyrianPound
SwaziLilangeni
ThaiBaht
TajikistaniSomoni
TurkmenistanManat
TunisianDinar
TonganPaanga
TurkishLira
TrinidadAndTobagoDollar
NewTaiwanDollar
TanzanianShilling
UkrainianHryvnia
UgandanShilling
UnitedStatesDollar
UnitedStatesDollarNextDay
UruguayPesoEnUnidadesIndexadas
UruguayanPeso
UnidadPrevisional
UzbekistanSom
VenezuelanBolivarSoberano
VietnameseDong
VanuatuVatu
SamoanTala
CfaFrancBeac
Silver
Gold
EuropeanCompositeUnit
EuropeanMonetaryUnit
EuropeanUnitOfAccount9
EuropeanUnitOfAccount17
EastCaribbeanDollar
SpecialDrawingRights
CfaFrancBceao
Palladium
CfpFranc
Platinum
Sucre
CodeReservedForTesting
AdbUnitOfAccount
NoCurrency
YemeniRial
SouthAfricanRand
ZambianKwacha
ZimbabweanDollar

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns a reasonable default variant for the TransitCurrency enum type:

Deserialize this value from the given Serde deserializer. Read more

Formats a TransitCurrency enum into a string that is presentable to the end user.

Converts a TransitCurrency enum to a String that contains an ISO 4217 currency code.

Feeds this value into the given Hasher. Read more

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

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Serialize this value into the given Serde serializer. Read more

Gets a TransitCurrency enum from a String that contains a supported ISO 4217 currency code.

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

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

Performs the conversion.

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

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

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

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

Performs the conversion.

The resulting type after obtaining ownership.

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

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

recently added

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

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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

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