[][src]Struct locale_codes::currency::CurrencyInfo

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>,
}

A representation of registered currency data that maintained by ISO.

Fields

alphabetic_code: String

The ISO 4217 registered 3-character currency code.

name: String

The 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

impl Debug for CurrencyInfo[src]

impl Serialize for CurrencyInfo[src]

impl<'de> Deserialize<'de> for CurrencyInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]