pub struct Currency {
pub alternate_symbols: Option<Vec<String>>,
pub decimal_mark: String,
pub html_entity: String,
pub iso_code: String,
pub iso_numeric: String,
pub name: String,
pub smallest_denomination: i16,
pub subunit: String,
pub subunit_to_unit: i16,
pub symbol: String,
pub symbol_first: i16,
pub thousands_separator: String,
}
Expand description
Currency metadata
Fields§
§alternate_symbols: Option<Vec<String>>
§decimal_mark: String
§html_entity: String
§iso_code: String
§iso_numeric: String
§name: String
§smallest_denomination: i16
§subunit: String
§subunit_to_unit: i16
§symbol: String
§symbol_first: i16
§thousands_separator: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Currency
impl<'de> Deserialize<'de> for Currency
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
Auto Trait Implementations§
impl Freeze for Currency
impl RefUnwindSafe for Currency
impl Send for Currency
impl Sync for Currency
impl Unpin for Currency
impl UnwindSafe for Currency
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