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<Exponent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Exponent, <__D as Deserializer<'de>>::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) -> Exponent
fn from(val: &CurrencyCode) -> Exponent
Converts to this type from the input type.
Source§impl From<CurrencyCode> for Exponent
impl From<CurrencyCode> for Exponent
Source§fn from(val: CurrencyCode) -> Exponent
fn from(val: CurrencyCode) -> Exponent
Converts to this type from the input type.
Source§impl Serialize for Exponent
impl Serialize for Exponent
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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