#[non_exhaustive]pub enum CurrencyDisplay {
Symbol,
NarrowSymbol,
Name,
Code,
Never,
}Expand description
:currency’s currencyDisplay.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Symbol
symbol (the default).
NarrowSymbol
narrowSymbol.
Name
name.
Code
code.
Never
never: no currency shown.
Trait Implementations§
Source§impl Clone for CurrencyDisplay
impl Clone for CurrencyDisplay
impl Copy for CurrencyDisplay
Source§impl Debug for CurrencyDisplay
impl Debug for CurrencyDisplay
impl Eq for CurrencyDisplay
Source§impl Hash for CurrencyDisplay
impl Hash for CurrencyDisplay
Source§impl PartialEq for CurrencyDisplay
impl PartialEq for CurrencyDisplay
impl StructuralPartialEq for CurrencyDisplay
Auto Trait Implementations§
impl Freeze for CurrencyDisplay
impl RefUnwindSafe for CurrencyDisplay
impl Send for CurrencyDisplay
impl Sync for CurrencyDisplay
impl Unpin for CurrencyDisplay
impl UnsafeUnpin for CurrencyDisplay
impl UnwindSafe for CurrencyDisplay
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