pub enum Currency {
Show 32 variants
Aud,
Bgn,
Brl,
Cad,
Chf,
Cny,
Czk,
Dkk,
Eur,
Gbp,
Hkd,
Huf,
Idr,
Ils,
Inr,
Isk,
Jpy,
Krw,
Mxn,
Myr,
Nok,
Nzd,
Php,
Pln,
Ron,
Rub,
Sek,
Sgd,
Thb,
Try,
Usd,
Zar,
}
Expand description
ISO-4217 currency codes which are reported by the European Central Bank for exchange.
Variants§
Aud
The Australian dollar.
Bgn
The Bulgarian lev.
Brl
The Brazilian real
Cad
The Canadian dollar.
Chf
The Swiss franc.
Cny
The Chinese yuan.
Czk
The Czech koruna.
Dkk
The Danish krone.
Eur
The Euro.
Gbp
The British pound.
Hkd
The Hong Kong dollar.
Huf
The Hungarian forint.
Idr
The Indonesian rupiah.
Ils
The Israeli shekel.
Inr
The Indian rupee.
Isk
The Icelandic krona.
Jpy
The Japanese yen.
Krw
The South Korean won.
Mxn
The Mexican peso.
Myr
The Malaysian ringgit.
Nok
The Norwegian krone.
Nzd
The New Zeland dollar.
Php
The Philippine peso.
Pln
The Polish zloty.
Ron
The Romanian leu.
Rub
The Russian rouble.
Sek
The Swedish krona.
Sgd
The Singapore dollar.
Thb
The Thai baht.
Try
The Turkish lira.
Usd
The US dollar.
Zar
The South African rand.
Trait Implementations§
source§impl IntoEnumIterator for Currency
impl IntoEnumIterator for Currency
source§impl Ord for Currency
impl Ord for Currency
source§impl PartialEq for Currency
impl PartialEq for Currency
source§impl PartialOrd for Currency
impl PartialOrd for Currency
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Currency
impl Eq for Currency
impl StructuralEq for Currency
impl StructuralPartialEq for Currency
Auto Trait Implementations§
impl RefUnwindSafe for Currency
impl Send for Currency
impl Sync for Currency
impl Unpin for Currency
impl UnwindSafe for Currency
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.