pub struct XAG;Expand description
Silver (one troy ounce)
Trait Implementations§
Source§impl Currency for XAG
impl Currency for XAG
Source§const NAME: &'static str = "Silver (one troy ounce)"
const NAME: &'static str = "Silver (one troy ounce)"
Full currency name (e.g., “US Dollar”, “Euro”)
Source§const MINOR_UNIT: u16 = 0
const MINOR_UNIT: u16 = 0
Number of decimal places/minor units (e.g., USD -> cents -> minor unit = 2)
Source§const MINOR_UNIT_SYMBOL: &'static str = ""
const MINOR_UNIT_SYMBOL: &'static str = ""
Currency minor symbol (e.g., USD -> “¢”)
Source§const THOUSAND_SEPARATOR: &'static str = ","
const THOUSAND_SEPARATOR: &'static str = ","
thousand separator (e.g., USD -> “,”)
Source§const DECIMAL_SEPARATOR: &'static str = "."
const DECIMAL_SEPARATOR: &'static str = "."
decimal separator (e.g., USD -> “.”)
impl Copy for XAG
impl Eq for XAG
impl StructuralPartialEq for XAG
Auto Trait Implementations§
impl Freeze for XAG
impl RefUnwindSafe for XAG
impl Send for XAG
impl Sync for XAG
impl Unpin for XAG
impl UnsafeUnpin for XAG
impl UnwindSafe for XAG
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