pub enum Currency {
AUD,
CAD,
DOLLAR,
EUR,
GBP,
USD,
}Expand description
Defines currencies
DOLLAR is the more generic currency. Any other currencies using dollars
should use the localization information (e.g. USD becomes US dollar[s]
and CAD becomes canadian dollar[s] in English).
Variants
AUD
CAD
DOLLAR
EUR
GBP
USD
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more