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
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Converts a TransitCurrency
enum to a String
that contains an ISO
4217 currency code.
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
Gets a TransitCurrency
enum from a String
that contains a supported
ISO 4217 currency code.
Auto Trait Implementations
impl RefUnwindSafe for TransitCurrency
impl Send for TransitCurrency
impl Sync for TransitCurrency
impl Unpin for TransitCurrency
impl UnwindSafe for TransitCurrency
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V