#[repr(C)]pub struct CashType { /* private fields */ }
Expand description
Represents a cash type ISO currency code, value, and variant.
Implementations§
Source§impl CashType
impl CashType
Sourcepub const fn currency_code(&self) -> CurrencyCode
pub const fn currency_code(&self) -> CurrencyCode
Gets the CurrencyCode.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CashType
impl<'de> Deserialize<'de> for CashType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for CashType
impl StructuralPartialEq for CashType
Auto Trait Implementations§
impl Freeze for CashType
impl RefUnwindSafe for CashType
impl Send for CashType
impl Sync for CashType
impl Unpin for CashType
impl UnwindSafe for CashType
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