pub struct CurrencyInfo {
pub alphabetic_code: String,
pub name: String,
pub numeric_code: Option<u16>,
pub symbol: Option<String>,
pub standards_entities: Vec<String>,
pub subdivisions: Vec<Subdivision>,
}Expand description
A representation of registered currency data that maintained by ISO.
Fields§
§alphabetic_code: StringThe ISO 4217 registered 3-character currency code.
name: StringThe registered name, in English, of the currency.
numeric_code: Option<u16>The registered numeric curency code, if it has one.
symbol: Option<String>The localized symbol used to represent the currency, if known.
standards_entities: Vec<String>These correspond approximately to countries using this currency.
subdivisions: Vec<Subdivision>The, possibly empty set of subdivisions for this currency.
Trait Implementations§
Source§impl Debug for CurrencyInfo
impl Debug for CurrencyInfo
Source§impl<'de> Deserialize<'de> for CurrencyInfo
impl<'de> Deserialize<'de> for CurrencyInfo
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 CurrencyInfo
impl RefUnwindSafe for CurrencyInfo
impl Send for CurrencyInfo
impl Sync for CurrencyInfo
impl Unpin for CurrencyInfo
impl UnwindSafe for CurrencyInfo
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