pub struct THB;Expand description
Thai baht
Trait Implementations§
impl Copy for THB
Source§impl Currency for THB
impl Currency for THB
Source§const MINOR_UNIT: u16 = 2
const MINOR_UNIT: u16 = 2
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 MINOR_UNIT_NAME: &'static str = "satang"
const MINOR_UNIT_NAME: &'static str = "satang"
Currency minor unit name (e.g., USD -> “cent”)
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 Eq for THB
impl StructuralPartialEq for THB
Auto Trait Implementations§
impl Freeze for THB
impl RefUnwindSafe for THB
impl Send for THB
impl Sync for THB
impl Unpin for THB
impl UnsafeUnpin for THB
impl UnwindSafe for THB
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