#[repr(C)]pub struct Exponent(/* private fields */);
Expand description
Represents the exponent field of a [Currency].
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Exponent
impl<'de> Deserialize<'de> for Exponent
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
Source§impl From<&CurrencyCode> for Exponent
impl From<&CurrencyCode> for Exponent
Source§fn from(val: &CurrencyCode) -> Self
fn from(val: &CurrencyCode) -> Self
Converts to this type from the input type.
Source§impl From<CurrencyCode> for Exponent
impl From<CurrencyCode> for Exponent
Source§fn from(val: CurrencyCode) -> Self
fn from(val: CurrencyCode) -> Self
Converts to this type from the input type.
impl Copy for Exponent
impl StructuralPartialEq for Exponent
Auto Trait Implementations§
impl Freeze for Exponent
impl RefUnwindSafe for Exponent
impl Send for Exponent
impl Sync for Exponent
impl Unpin for Exponent
impl UnwindSafe for Exponent
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