pub trait Currency: Copy + Clone + PartialEq + Eq + PartialOrd + Ord + Hash {
    type Backing: Backing;

    const BASE: Self::Backing;
    const CODE: &'static str;
    const SYMBOL: &'static str;
    const PROPER_NAME: &'static str;
    const STYLE: FormatStyle;
    const IS_ISO: bool;
    const IS_CRYPTO: bool;

    // Provided method
    fn decimal_digits() -> usize { ... }
}
Expand description

Uniquely defines a particular currency, such as USD, BTC, or ETH.

Required Associated Types§

source

type Backing: Backing

Represents the underlying (signed or un-signed) primitive integer type used to represent Amounts of this Currency.

Required Associated Constants§

source

const BASE: Self::Backing

Determines the numerical base of an Amount of this Currency.

For base ten currencies, this should be a 1 followed by a number of zeroes corresponding with the number of supported digits to the right of the decimal place.

Some very rare currencies use a base other than 10, such as Malagasy ariary. For these you should use an appropriate base.

source

const CODE: &'static str

Specifies a 3-4 digit acronym or “code” that can be used as a short name for this Currency. For ISO-supported currencies, this will be equal to the ISO-4217 alphabetic code, which can be found here: https://en.wikipedia.org/wiki/ISO_4217.

For cryptocurrencies and other currencies not named in ISO-4217, this should be a short globally unique code that is specific to the currency, for example BTC for Bitcoin, ETH for Ethereum, etc..

source

const SYMBOL: &'static str

Specifies the monetary symbol, such as $, that is commonly associated with this Currency.

It is worth noting that such symbols can be multiple characters long, are not globally unique (actually many currencies use the $ symbol and there are plenty examples of the same symbol being used for many currencies), and are not governed or defined by ISO-4217 or any other ISO. They also do not have to be symbols, they could be a word or several words long.

The symbol is used when formatted values of an Amount using this Currency are displayed.

source

const PROPER_NAME: &'static str

Specifies a long-hand / “proper” name for this Currency, for example “United States Dollar”.

For currencies governed by ISO-4217, this corresponds with the “entity” field.

source

const STYLE: FormatStyle

Specifies how an Amount of this Currency should be displayed when it is represented textually via core::fmt::Display and core::fmt::Debug.

source

const IS_ISO: bool

Set to true if this Currency is governed by ISO-4217. Otherwise false.

source

const IS_CRYPTO: bool

Set to true if this Currency is a cryptocurrency. Otherwise false.

This is provided separately from IS_ISO to prepare for a future where one or more cryptocurrencies are included in ISO-4217.

Provided Methods§

source

fn decimal_digits() -> usize

Returns the number of digits to the right of the decimal point for this Currency.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Currency for AAVE

§

type Backing = U256

source§

const BASE: Self::Backing = ETH::BASE

source§

const CODE: &'static str = "AAVE"

source§

const SYMBOL: &'static str = "AAVE"

source§

const PROPER_NAME: &'static str = "Aave Token"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = false

source§

const IS_CRYPTO: bool = true

source§

impl Currency for ADA

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x00000000000f4240): <currency::ADA as currency::Currency>::Backing}

source§

const CODE: &'static str = "ADA"

source§

const SYMBOL: &'static str = "ADA"

source§

const PROPER_NAME: &'static str = "Cardano"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = false

source§

const IS_CRYPTO: bool = true

source§

impl Currency for AED

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::AED as currency::Currency>::Backing}

source§

const CODE: &'static str = "AED"

source§

const SYMBOL: &'static str = "Dh"

source§

const PROPER_NAME: &'static str = "United Arab Emirates Dirham"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for AFN

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::AFN as currency::Currency>::Backing}

source§

const CODE: &'static str = "AFN"

source§

const SYMBOL: &'static str = "Af"

source§

const PROPER_NAME: &'static str = "Afgan Afghani"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for ALL

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::ALL as currency::Currency>::Backing}

source§

const CODE: &'static str = "ALL"

source§

const SYMBOL: &'static str = "Lek"

source§

const PROPER_NAME: &'static str = "Albanien Lek"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for AMD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::AMD as currency::Currency>::Backing}

source§

const CODE: &'static str = "AMD"

source§

const SYMBOL: &'static str = "֏"

source§

const PROPER_NAME: &'static str = "Armenian Dram"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for ANG

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::ANG as currency::Currency>::Backing}

source§

const CODE: &'static str = "ANG"

source§

const SYMBOL: &'static str = "ƒ"

source§

const PROPER_NAME: &'static str = "Netherlands Antillean Guilder"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for AOA

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::AOA as currency::Currency>::Backing}

source§

const CODE: &'static str = "AOA"

source§

const SYMBOL: &'static str = "Kz"

source§

const PROPER_NAME: &'static str = "Angolan Kwanza"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for ARS

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::ARS as currency::Currency>::Backing}

source§

const CODE: &'static str = "ARS"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Argentine Peso"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for AUD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::AUD as currency::Currency>::Backing}

source§

const CODE: &'static str = "AUD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Australian Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for AWG

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::AWG as currency::Currency>::Backing}

source§

const CODE: &'static str = "AWG"

source§

const SYMBOL: &'static str = "ƒ"

source§

const PROPER_NAME: &'static str = "Aruban Florin"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for AZN

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::AZN as currency::Currency>::Backing}

source§

const CODE: &'static str = "AZN"

source§

const SYMBOL: &'static str = "₼"

source§

const PROPER_NAME: &'static str = "Azerbaijani Manat"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for BAM

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::BAM as currency::Currency>::Backing}

source§

const CODE: &'static str = "BAM"

source§

const SYMBOL: &'static str = "KM"

source§

const PROPER_NAME: &'static str = "Bosnia and Herzegovina Convertible Mark"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for BBD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::BBD as currency::Currency>::Backing}

source§

const CODE: &'static str = "BBD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Barbados Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for BDT

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::BDT as currency::Currency>::Backing}

source§

const CODE: &'static str = "BDT"

source§

const SYMBOL: &'static str = "৳"

source§

const PROPER_NAME: &'static str = "Bangladeshi Taka"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for BGN

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::BGN as currency::Currency>::Backing}

source§

const CODE: &'static str = "BGN"

source§

const SYMBOL: &'static str = "Lev"

source§

const PROPER_NAME: &'static str = "Bulgarian Lev"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for BHD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x00000000000003e8): <currency::BHD as currency::Currency>::Backing}

source§

const CODE: &'static str = "BHD"

source§

const SYMBOL: &'static str = "BD"

source§

const PROPER_NAME: &'static str = "Bahraini Dinar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for BIF

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::BIF as currency::Currency>::Backing}

source§

const CODE: &'static str = "BIF"

source§

const SYMBOL: &'static str = "Fr"

source§

const PROPER_NAME: &'static str = "Burundian Franc"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for BMD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::BMD as currency::Currency>::Backing}

source§

const CODE: &'static str = "BMD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Berumdian Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for BND

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::BND as currency::Currency>::Backing}

source§

const CODE: &'static str = "BND"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Brunei Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for BOB

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::BOB as currency::Currency>::Backing}

source§

const CODE: &'static str = "BOB"

source§

const SYMBOL: &'static str = "Bs"

source§

const PROPER_NAME: &'static str = "Boliviano"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for BOOK

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x00000000000f4240): <currency::BOOK as currency::Currency>::Backing}

source§

const CODE: &'static str = "BOOK"

source§

const SYMBOL: &'static str = "BOOK"

source§

const PROPER_NAME: &'static str = "$BOOK"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = false

source§

const IS_CRYPTO: bool = true

source§

impl Currency for BOV

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::BOV as currency::Currency>::Backing}

source§

const CODE: &'static str = "BOV"

source§

const SYMBOL: &'static str = "BOV"

source§

const PROPER_NAME: &'static str = "Bolivian Mvdol"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for BRL

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::BRL as currency::Currency>::Backing}

source§

const CODE: &'static str = "BRL"

source§

const SYMBOL: &'static str = "R$"

source§

const PROPER_NAME: &'static str = "Brazilian Real"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for BSD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::BSD as currency::Currency>::Backing}

source§

const CODE: &'static str = "BSD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Bahamian Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for BTC

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000005f5e100): <currency::BTC as currency::Currency>::Backing}

source§

const CODE: &'static str = "BTC"

source§

const SYMBOL: &'static str = "BTC"

source§

const PROPER_NAME: &'static str = "Bitcoin"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = false

source§

const IS_CRYPTO: bool = true

source§

impl Currency for BTN

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::BTN as currency::Currency>::Backing}

source§

const CODE: &'static str = "BTN"

source§

const SYMBOL: &'static str = "Nu"

source§

const PROPER_NAME: &'static str = "Bhutanese Ngultrum"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for BWP

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::BWP as currency::Currency>::Backing}

source§

const CODE: &'static str = "BWP"

source§

const SYMBOL: &'static str = "P"

source§

const PROPER_NAME: &'static str = "Botswanna Pula"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for BYN

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::BYN as currency::Currency>::Backing}

source§

const CODE: &'static str = "BYN"

source§

const SYMBOL: &'static str = "Rbl"

source§

const PROPER_NAME: &'static str = "Belarusian Ruble"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for BZD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::BZD as currency::Currency>::Backing}

source§

const CODE: &'static str = "BZD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Belize Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for CAD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::CAD as currency::Currency>::Backing}

source§

const CODE: &'static str = "CAD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Canadian Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for CDF

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::CDF as currency::Currency>::Backing}

source§

const CODE: &'static str = "CDF"

source§

const SYMBOL: &'static str = "Fr"

source§

const PROPER_NAME: &'static str = "Congloese Franc"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for CHE

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::CHE as currency::Currency>::Backing}

source§

const CODE: &'static str = "CHE"

source§

const SYMBOL: &'static str = "CHE"

source§

const PROPER_NAME: &'static str = "WIR Euro"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for CHF

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::CHF as currency::Currency>::Backing}

source§

const CODE: &'static str = "CHF"

source§

const SYMBOL: &'static str = "Fr"

source§

const PROPER_NAME: &'static str = "Swiss Franc"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for CHW

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::CHW as currency::Currency>::Backing}

source§

const CODE: &'static str = "CHW"

source§

const SYMBOL: &'static str = "CHW"

source§

const PROPER_NAME: &'static str = "WIR Franc"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for CLF

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::CLF as currency::Currency>::Backing}

source§

const CODE: &'static str = "CLF"

source§

const SYMBOL: &'static str = "CLF"

source§

const PROPER_NAME: &'static str = "Unidad de Fomento"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for CLP

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::CLP as currency::Currency>::Backing}

source§

const CODE: &'static str = "CLP"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Chilean Peso"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for CNY

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x000000000000000a): <currency::CNY as currency::Currency>::Backing}

source§

const CODE: &'static str = "CNY"

source§

const SYMBOL: &'static str = "¥"

source§

const PROPER_NAME: &'static str = "Renminbi"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for COP

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::COP as currency::Currency>::Backing}

source§

const CODE: &'static str = "COP"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Colombian Peso"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for COU

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::COU as currency::Currency>::Backing}

source§

const CODE: &'static str = "COU"

source§

const SYMBOL: &'static str = "COU"

source§

const PROPER_NAME: &'static str = "Unidad de Valor Real (UVR)"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for CRC

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::CRC as currency::Currency>::Backing}

source§

const CODE: &'static str = "CRC"

source§

const SYMBOL: &'static str = "₡"

source§

const PROPER_NAME: &'static str = "Costa Rican Colon"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for CUC

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::CUC as currency::Currency>::Backing}

source§

const CODE: &'static str = "CUC"

source§

const SYMBOL: &'static str = "CUC"

source§

const PROPER_NAME: &'static str = "Cuban Convertible Peso"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for CUP

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::CUP as currency::Currency>::Backing}

source§

const CODE: &'static str = "CUP"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Cuban Peso"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for CVE

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::CVE as currency::Currency>::Backing}

source§

const CODE: &'static str = "CVE"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Cape Verdean Escudo"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for CZK

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::CZK as currency::Currency>::Backing}

source§

const CODE: &'static str = "CZK"

source§

const SYMBOL: &'static str = "Kč"

source§

const PROPER_NAME: &'static str = "Czech Koruna"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for DJF

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::DJF as currency::Currency>::Backing}

source§

const CODE: &'static str = "DJF"

source§

const SYMBOL: &'static str = "Fr"

source§

const PROPER_NAME: &'static str = "Dijiboutian Franc"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for DKK

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::DKK as currency::Currency>::Backing}

source§

const CODE: &'static str = "DKK"

source§

const SYMBOL: &'static str = "kr"

source§

const PROPER_NAME: &'static str = "Danish Krone"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for DOP

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::DOP as currency::Currency>::Backing}

source§

const CODE: &'static str = "DOP"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Dominican Peso"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for DOT

§

type Backing = u128

source§

const BASE: Self::Backing = {transmute(0x000000000000000000000002540be400): <currency::DOT as currency::Currency>::Backing}

source§

const CODE: &'static str = "DOT"

source§

const SYMBOL: &'static str = "DOT"

source§

const PROPER_NAME: &'static str = "Polkadot"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = false

source§

const IS_CRYPTO: bool = true

source§

impl Currency for DZD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::DZD as currency::Currency>::Backing}

source§

const CODE: &'static str = "DZD"

source§

const SYMBOL: &'static str = "DA"

source§

const PROPER_NAME: &'static str = "Algerian Dinar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for EGP

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::EGP as currency::Currency>::Backing}

source§

const CODE: &'static str = "EGP"

source§

const SYMBOL: &'static str = "LE"

source§

const PROPER_NAME: &'static str = "Egyptian Pound"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for ERN

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::ERN as currency::Currency>::Backing}

source§

const CODE: &'static str = "ERN"

source§

const SYMBOL: &'static str = "Nkf"

source§

const PROPER_NAME: &'static str = "Eritrean Nakfa"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for ETB

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::ETB as currency::Currency>::Backing}

source§

const CODE: &'static str = "ETB"

source§

const SYMBOL: &'static str = "Br"

source§

const PROPER_NAME: &'static str = "Ethiopian Birr"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for ETH

§

type Backing = U256

source§

const BASE: Self::Backing = _

source§

const CODE: &'static str = "ETH"

source§

const SYMBOL: &'static str = "ETH"

source§

const PROPER_NAME: &'static str = "Ethereum"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = false

source§

const IS_CRYPTO: bool = true

source§

impl Currency for EUR

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::EUR as currency::Currency>::Backing}

source§

const CODE: &'static str = "EUR"

source§

const SYMBOL: &'static str = "€"

source§

const PROPER_NAME: &'static str = "Euro"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for FJD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::FJD as currency::Currency>::Backing}

source§

const CODE: &'static str = "FJD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Fiji Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for FKP

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::FKP as currency::Currency>::Backing}

source§

const CODE: &'static str = "FKP"

source§

const SYMBOL: &'static str = "£"

source§

const PROPER_NAME: &'static str = "Falkland Islands Pound"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for GBP

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::GBP as currency::Currency>::Backing}

source§

const CODE: &'static str = "GBP"

source§

const SYMBOL: &'static str = "£"

source§

const PROPER_NAME: &'static str = "Pound Sterling"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for GEL

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::GEL as currency::Currency>::Backing}

source§

const CODE: &'static str = "GEL"

source§

const SYMBOL: &'static str = "₾"

source§

const PROPER_NAME: &'static str = "Georgian Iari"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for GHS

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::GHS as currency::Currency>::Backing}

source§

const CODE: &'static str = "GHS"

source§

const SYMBOL: &'static str = "₵"

source§

const PROPER_NAME: &'static str = "Ghanaian Cedi"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for GIP

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::GIP as currency::Currency>::Backing}

source§

const CODE: &'static str = "GIP"

source§

const SYMBOL: &'static str = "£"

source§

const PROPER_NAME: &'static str = "Gibralter Pound"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for GMD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::GMD as currency::Currency>::Backing}

source§

const CODE: &'static str = "GMD"

source§

const SYMBOL: &'static str = "D"

source§

const PROPER_NAME: &'static str = "Gambian Dalasi"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for GNF

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::GNF as currency::Currency>::Backing}

source§

const CODE: &'static str = "GNF"

source§

const SYMBOL: &'static str = "Fr"

source§

const PROPER_NAME: &'static str = "Guinean Franc"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for GTQ

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::GTQ as currency::Currency>::Backing}

source§

const CODE: &'static str = "GTQ"

source§

const SYMBOL: &'static str = "Q"

source§

const PROPER_NAME: &'static str = "Guatemalan Quetzal"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for HKD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::HKD as currency::Currency>::Backing}

source§

const CODE: &'static str = "HKD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Hong Kong Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for HNL

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::HNL as currency::Currency>::Backing}

source§

const CODE: &'static str = "HNL"

source§

const SYMBOL: &'static str = "L"

source§

const PROPER_NAME: &'static str = "Honduran Lempira"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for HTG

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::HTG as currency::Currency>::Backing}

source§

const CODE: &'static str = "HTG"

source§

const SYMBOL: &'static str = "G"

source§

const PROPER_NAME: &'static str = "Haitian Gourde"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for HUF

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::HUF as currency::Currency>::Backing}

source§

const CODE: &'static str = "HUF"

source§

const SYMBOL: &'static str = "Ft"

source§

const PROPER_NAME: &'static str = "Hungarian Forint"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for IDR

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::IDR as currency::Currency>::Backing}

source§

const CODE: &'static str = "IDR"

source§

const SYMBOL: &'static str = "Rp"

source§

const PROPER_NAME: &'static str = "Indonesian Rupiah"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for ILS

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::ILS as currency::Currency>::Backing}

source§

const CODE: &'static str = "ILS"

source§

const SYMBOL: &'static str = "₪"

source§

const PROPER_NAME: &'static str = "Israeli New Shekel"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for INR

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::INR as currency::Currency>::Backing}

source§

const CODE: &'static str = "INR"

source§

const SYMBOL: &'static str = "₹"

source§

const PROPER_NAME: &'static str = "Indian Rupee"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for IQD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x00000000000003e8): <currency::IQD as currency::Currency>::Backing}

source§

const CODE: &'static str = "IQD"

source§

const SYMBOL: &'static str = "ID"

source§

const PROPER_NAME: &'static str = "Iraqi Dinar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for IRR

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000001): <currency::IRR as currency::Currency>::Backing}

source§

const CODE: &'static str = "IRR"

source§

const SYMBOL: &'static str = "Rl"

source§

const PROPER_NAME: &'static str = "Iranian Rial"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for ISK

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::ISK as currency::Currency>::Backing}

source§

const CODE: &'static str = "ISK"

source§

const SYMBOL: &'static str = "kr"

source§

const PROPER_NAME: &'static str = "Icelandic Króna"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for JMD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::JMD as currency::Currency>::Backing}

source§

const CODE: &'static str = "JMD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Jamaican Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for JOD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::JOD as currency::Currency>::Backing}

source§

const CODE: &'static str = "JOD"

source§

const SYMBOL: &'static str = "JD"

source§

const PROPER_NAME: &'static str = "Jordanian Dinar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for JPY

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::JPY as currency::Currency>::Backing}

source§

const CODE: &'static str = "JPY"

source§

const SYMBOL: &'static str = "¥"

source§

const PROPER_NAME: &'static str = "Japanese Yen"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for KES

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::KES as currency::Currency>::Backing}

source§

const CODE: &'static str = "KES"

source§

const SYMBOL: &'static str = "Sh"

source§

const PROPER_NAME: &'static str = "Kenyan Shilling"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for KGS

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::KGS as currency::Currency>::Backing}

source§

const CODE: &'static str = "KGS"

source§

const SYMBOL: &'static str = "som"

source§

const PROPER_NAME: &'static str = "Kyrgyzstani Som"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for KHR

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::KHR as currency::Currency>::Backing}

source§

const CODE: &'static str = "KHR"

source§

const SYMBOL: &'static str = "CR"

source§

const PROPER_NAME: &'static str = "Cambodian Riel"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for KMF

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::KMF as currency::Currency>::Backing}

source§

const CODE: &'static str = "KMF"

source§

const SYMBOL: &'static str = "Fr"

source§

const PROPER_NAME: &'static str = "Comoro Franc"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for KPW

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::KPW as currency::Currency>::Backing}

source§

const CODE: &'static str = "KPW"

source§

const SYMBOL: &'static str = "₩"

source§

const PROPER_NAME: &'static str = "North Korean Won"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for KRW

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::KRW as currency::Currency>::Backing}

source§

const CODE: &'static str = "KRW"

source§

const SYMBOL: &'static str = "₩"

source§

const PROPER_NAME: &'static str = "South Korean Won"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for KSM

§

type Backing = u128

source§

const BASE: Self::Backing = {transmute(0x0000000000000000000000e8d4a51000): <currency::KSM as currency::Currency>::Backing}

source§

const CODE: &'static str = "KSM"

source§

const SYMBOL: &'static str = "KSM"

source§

const PROPER_NAME: &'static str = "Kusama"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = false

source§

const IS_CRYPTO: bool = true

source§

impl Currency for KWD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x00000000000003e8): <currency::KWD as currency::Currency>::Backing}

source§

const CODE: &'static str = "KWD"

source§

const SYMBOL: &'static str = "KD"

source§

const PROPER_NAME: &'static str = "Kuwaiti Dinar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for KYD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::KYD as currency::Currency>::Backing}

source§

const CODE: &'static str = "KYD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Caymen Islands Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for KZT

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::KZT as currency::Currency>::Backing}

source§

const CODE: &'static str = "KZT"

source§

const SYMBOL: &'static str = "₸"

source§

const PROPER_NAME: &'static str = "Kazakhstani Tenge"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for LAK

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::LAK as currency::Currency>::Backing}

source§

const CODE: &'static str = "LAK"

source§

const SYMBOL: &'static str = "₭"

source§

const PROPER_NAME: &'static str = "Lao Kip"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for LBP

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::LBP as currency::Currency>::Backing}

source§

const CODE: &'static str = "LBP"

source§

const SYMBOL: &'static str = "LL"

source§

const PROPER_NAME: &'static str = "Lebanese Pound"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for LKR

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::LKR as currency::Currency>::Backing}

source§

const CODE: &'static str = "LKR"

source§

const SYMBOL: &'static str = "Re"

source§

const PROPER_NAME: &'static str = "Sri Lankan Rupee"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for LRD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::LRD as currency::Currency>::Backing}

source§

const CODE: &'static str = "LRD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Liberian Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for LSL

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::LSL as currency::Currency>::Backing}

source§

const CODE: &'static str = "LSL"

source§

const SYMBOL: &'static str = "L"

source§

const PROPER_NAME: &'static str = "Lesotho Loti"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for LYD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x00000000000003e8): <currency::LYD as currency::Currency>::Backing}

source§

const CODE: &'static str = "LYD"

source§

const SYMBOL: &'static str = "LD"

source§

const PROPER_NAME: &'static str = "Libyan Dinar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for MAD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::MAD as currency::Currency>::Backing}

source§

const CODE: &'static str = "MAD"

source§

const SYMBOL: &'static str = "DH"

source§

const PROPER_NAME: &'static str = "Moroccan Dirham"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for MDL

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::MDL as currency::Currency>::Backing}

source§

const CODE: &'static str = "MDL"

source§

const SYMBOL: &'static str = "Leu"

source§

const PROPER_NAME: &'static str = "Moldovan Leu"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for MGA

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000005): <currency::MGA as currency::Currency>::Backing}

source§

const CODE: &'static str = "MGA"

source§

const SYMBOL: &'static str = "Ar"

source§

const PROPER_NAME: &'static str = "Malagasy Ariary"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for MKD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::MKD as currency::Currency>::Backing}

source§

const CODE: &'static str = "MKD"

source§

const SYMBOL: &'static str = "DEN"

source§

const PROPER_NAME: &'static str = "Macedonian Denar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for MMK

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::MMK as currency::Currency>::Backing}

source§

const CODE: &'static str = "MMK"

source§

const SYMBOL: &'static str = "K"

source§

const PROPER_NAME: &'static str = "Myanmar Kyat"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for MNT

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::MNT as currency::Currency>::Backing}

source§

const CODE: &'static str = "MNT"

source§

const SYMBOL: &'static str = "₮"

source§

const PROPER_NAME: &'static str = "Mongolian Tögrög"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for MOP

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::MOP as currency::Currency>::Backing}

source§

const CODE: &'static str = "MOP"

source§

const SYMBOL: &'static str = "MOP$"

source§

const PROPER_NAME: &'static str = "Macanese Pataca"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for MRU

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000005): <currency::MRU as currency::Currency>::Backing}

source§

const CODE: &'static str = "MRU"

source§

const SYMBOL: &'static str = "UM"

source§

const PROPER_NAME: &'static str = "Mauritanian Ouguiya"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for MUR

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::MUR as currency::Currency>::Backing}

source§

const CODE: &'static str = "MUR"

source§

const SYMBOL: &'static str = "Re"

source§

const PROPER_NAME: &'static str = "Mauritian Rupee"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for MVR

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::MVR as currency::Currency>::Backing}

source§

const CODE: &'static str = "MVR"

source§

const SYMBOL: &'static str = "Rf"

source§

const PROPER_NAME: &'static str = "Maldivian Rufiyaa"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for MWK

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::MWK as currency::Currency>::Backing}

source§

const CODE: &'static str = "MWK"

source§

const SYMBOL: &'static str = "K"

source§

const PROPER_NAME: &'static str = "Malawian Kwacha"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for MXN

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::MXN as currency::Currency>::Backing}

source§

const CODE: &'static str = "MXN"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Mexican Peso"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for MXV

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::MXV as currency::Currency>::Backing}

source§

const CODE: &'static str = "MXV"

source§

const SYMBOL: &'static str = "MXV"

source§

const PROPER_NAME: &'static str = "Mexican Unidad de Inversion (UDI)"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for MYR

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::MYR as currency::Currency>::Backing}

source§

const CODE: &'static str = "MYR"

source§

const SYMBOL: &'static str = "RM"

source§

const PROPER_NAME: &'static str = "Malaysian Ringgit"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for MZN

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::MZN as currency::Currency>::Backing}

source§

const CODE: &'static str = "MZN"

source§

const SYMBOL: &'static str = "Mt"

source§

const PROPER_NAME: &'static str = "Mozambican Metical"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for NAD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::NAD as currency::Currency>::Backing}

source§

const CODE: &'static str = "NAD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Namibian Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for NGN

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::NGN as currency::Currency>::Backing}

source§

const CODE: &'static str = "NGN"

source§

const SYMBOL: &'static str = "₦"

source§

const PROPER_NAME: &'static str = "Nigerian Naira"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for NIO

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::NIO as currency::Currency>::Backing}

source§

const CODE: &'static str = "NIO"

source§

const SYMBOL: &'static str = "C$"

source§

const PROPER_NAME: &'static str = "Nicaraguan Córdoba"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for NOK

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::NOK as currency::Currency>::Backing}

source§

const CODE: &'static str = "NOK"

source§

const SYMBOL: &'static str = "kr"

source§

const PROPER_NAME: &'static str = "Norwegian Krone"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for NPR

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::NPR as currency::Currency>::Backing}

source§

const CODE: &'static str = "NPR"

source§

const SYMBOL: &'static str = "Re"

source§

const PROPER_NAME: &'static str = "Nepalese Rupee"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for NZD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::NZD as currency::Currency>::Backing}

source§

const CODE: &'static str = "NZD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "New Zealand Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for OMR

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x00000000000003e8): <currency::OMR as currency::Currency>::Backing}

source§

const CODE: &'static str = "OMR"

source§

const SYMBOL: &'static str = "RO"

source§

const PROPER_NAME: &'static str = "Omani Rial"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for PAB

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::PAB as currency::Currency>::Backing}

source§

const CODE: &'static str = "PAB"

source§

const SYMBOL: &'static str = "B/"

source§

const PROPER_NAME: &'static str = "Panamanian Balboa"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for PEN

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::PEN as currency::Currency>::Backing}

source§

const CODE: &'static str = "PEN"

source§

const SYMBOL: &'static str = "S/"

source§

const PROPER_NAME: &'static str = "Peruvian Sol"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for PGK

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::PGK as currency::Currency>::Backing}

source§

const CODE: &'static str = "PGK"

source§

const SYMBOL: &'static str = "K"

source§

const PROPER_NAME: &'static str = "Papua New Guinean Kina"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for PHP

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::PHP as currency::Currency>::Backing}

source§

const CODE: &'static str = "PHP"

source§

const SYMBOL: &'static str = "₱"

source§

const PROPER_NAME: &'static str = "Philippine Peso"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for PKR

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::PKR as currency::Currency>::Backing}

source§

const CODE: &'static str = "PKR"

source§

const SYMBOL: &'static str = "Re"

source§

const PROPER_NAME: &'static str = "Pakistani Rupee"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for PLN

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::PLN as currency::Currency>::Backing}

source§

const CODE: &'static str = "PLN"

source§

const SYMBOL: &'static str = "zł"

source§

const PROPER_NAME: &'static str = "Polish Złoty"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for PYG

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::PYG as currency::Currency>::Backing}

source§

const CODE: &'static str = "PYG"

source§

const SYMBOL: &'static str = "₲"

source§

const PROPER_NAME: &'static str = "Paraguayan Guarani"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for QAR

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::QAR as currency::Currency>::Backing}

source§

const CODE: &'static str = "QAR"

source§

const SYMBOL: &'static str = "QR"

source§

const PROPER_NAME: &'static str = "Qatari Riyal"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for RON

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::RON as currency::Currency>::Backing}

source§

const CODE: &'static str = "RON"

source§

const SYMBOL: &'static str = "Leu"

source§

const PROPER_NAME: &'static str = "Romanian Leu"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for RSD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::RSD as currency::Currency>::Backing}

source§

const CODE: &'static str = "RSD"

source§

const SYMBOL: &'static str = "DIN"

source§

const PROPER_NAME: &'static str = "Serbian Dinar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for RUB

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::RUB as currency::Currency>::Backing}

source§

const CODE: &'static str = "RUB"

source§

const SYMBOL: &'static str = "₽"

source§

const PROPER_NAME: &'static str = "Russian Ruble"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for RWF

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::RWF as currency::Currency>::Backing}

source§

const CODE: &'static str = "RWF"

source§

const SYMBOL: &'static str = "Fr"

source§

const PROPER_NAME: &'static str = "Rwandan Franc"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for SAR

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::SAR as currency::Currency>::Backing}

source§

const CODE: &'static str = "SAR"

source§

const SYMBOL: &'static str = "Rl"

source§

const PROPER_NAME: &'static str = "Saudi Riyal"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for SBD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::SBD as currency::Currency>::Backing}

source§

const CODE: &'static str = "SBD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Solomon Islands Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for SCR

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::SCR as currency::Currency>::Backing}

source§

const CODE: &'static str = "SCR"

source§

const SYMBOL: &'static str = "Re"

source§

const PROPER_NAME: &'static str = "Seychelles Rupee"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for SDG

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::SDG as currency::Currency>::Backing}

source§

const CODE: &'static str = "SDG"

source§

const SYMBOL: &'static str = "LS"

source§

const PROPER_NAME: &'static str = "Sudanese Pound"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for SEK

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::SEK as currency::Currency>::Backing}

source§

const CODE: &'static str = "SEK"

source§

const SYMBOL: &'static str = "kr"

source§

const PROPER_NAME: &'static str = "Swedish Krona"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for SGD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::SGD as currency::Currency>::Backing}

source§

const CODE: &'static str = "SGD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Singapore Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for SHP

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::SHP as currency::Currency>::Backing}

source§

const CODE: &'static str = "SHP"

source§

const SYMBOL: &'static str = "£"

source§

const PROPER_NAME: &'static str = "Saint Helena Pound"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for SLE

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::SLE as currency::Currency>::Backing}

source§

const CODE: &'static str = "SLE"

source§

const SYMBOL: &'static str = "Le"

source§

const PROPER_NAME: &'static str = "Sierra Leonean Leone"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for SOS

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::SOS as currency::Currency>::Backing}

source§

const CODE: &'static str = "SOS"

source§

const SYMBOL: &'static str = "Sh"

source§

const PROPER_NAME: &'static str = "Somali Shilling"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for SRD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::SRD as currency::Currency>::Backing}

source§

const CODE: &'static str = "SRD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Surinamese Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for SSP

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::SSP as currency::Currency>::Backing}

source§

const CODE: &'static str = "SSP"

source§

const SYMBOL: &'static str = "SSP"

source§

const PROPER_NAME: &'static str = "South Sudanese Pound"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for STN

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::STN as currency::Currency>::Backing}

source§

const CODE: &'static str = "STN"

source§

const SYMBOL: &'static str = "Db"

source§

const PROPER_NAME: &'static str = "São Tomé and Príncipe Dobra"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for SYP

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::SYP as currency::Currency>::Backing}

source§

const CODE: &'static str = "SYP"

source§

const SYMBOL: &'static str = "LS"

source§

const PROPER_NAME: &'static str = "Syrian Pound"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for SZL

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::SZL as currency::Currency>::Backing}

source§

const CODE: &'static str = "SZL"

source§

const SYMBOL: &'static str = "L"

source§

const PROPER_NAME: &'static str = "Swazi Lilangeni"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for THB

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::THB as currency::Currency>::Backing}

source§

const CODE: &'static str = "THB"

source§

const SYMBOL: &'static str = "฿"

source§

const PROPER_NAME: &'static str = "Thai Baht"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for TJS

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::TJS as currency::Currency>::Backing}

source§

const CODE: &'static str = "TJS"

source§

const SYMBOL: &'static str = "SM"

source§

const PROPER_NAME: &'static str = "Tajikistani Somoni"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for TMT

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::TMT as currency::Currency>::Backing}

source§

const CODE: &'static str = "TMT"

source§

const SYMBOL: &'static str = "m"

source§

const PROPER_NAME: &'static str = "Turkmenistan Manat"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for TND

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x00000000000003e8): <currency::TND as currency::Currency>::Backing}

source§

const CODE: &'static str = "TND"

source§

const SYMBOL: &'static str = "DT"

source§

const PROPER_NAME: &'static str = "Tunisian Dinar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for TOP

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::TOP as currency::Currency>::Backing}

source§

const CODE: &'static str = "TOP"

source§

const SYMBOL: &'static str = "T$"

source§

const PROPER_NAME: &'static str = "Tongan Paʻanga"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for TRY

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::TRY as currency::Currency>::Backing}

source§

const CODE: &'static str = "TRY"

source§

const SYMBOL: &'static str = "₺"

source§

const PROPER_NAME: &'static str = "Turkish Lira"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for TTD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::TTD as currency::Currency>::Backing}

source§

const CODE: &'static str = "TTD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Trinidad and Tobago Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for TWD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::TWD as currency::Currency>::Backing}

source§

const CODE: &'static str = "TWD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "New Taiwan Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for TZS

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::TZS as currency::Currency>::Backing}

source§

const CODE: &'static str = "TZS"

source§

const SYMBOL: &'static str = "Sh"

source§

const PROPER_NAME: &'static str = "Tanzanian Shilling"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for UAH

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::UAH as currency::Currency>::Backing}

source§

const CODE: &'static str = "UAH"

source§

const SYMBOL: &'static str = "₴"

source§

const PROPER_NAME: &'static str = "Ukrainian Hryvnia"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for UGX

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000001): <currency::UGX as currency::Currency>::Backing}

source§

const CODE: &'static str = "UGX"

source§

const SYMBOL: &'static str = "Sh"

source§

const PROPER_NAME: &'static str = "Ugandan Shilling"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for USD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::USD as currency::Currency>::Backing}

source§

const CODE: &'static str = "USD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "United States Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for UYU

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::UYU as currency::Currency>::Backing}

source§

const CODE: &'static str = "UYU"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Uruguayan Peso"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for UZS

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::UZS as currency::Currency>::Backing}

source§

const CODE: &'static str = "UZS"

source§

const SYMBOL: &'static str = "soum"

source§

const PROPER_NAME: &'static str = "Uzbekistan Sum"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for VED

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::VED as currency::Currency>::Backing}

source§

const CODE: &'static str = "VED"

source§

const SYMBOL: &'static str = "Bs.D"

source§

const PROPER_NAME: &'static str = "Venezuelan Digital Bolívar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for VES

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::VES as currency::Currency>::Backing}

source§

const CODE: &'static str = "VES"

source§

const SYMBOL: &'static str = "Bs.S"

source§

const PROPER_NAME: &'static str = "Venezuelan Sovereign Bolívar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for VND

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x000000000000000a): <currency::VND as currency::Currency>::Backing}

source§

const CODE: &'static str = "VND"

source§

const SYMBOL: &'static str = "₫"

source§

const PROPER_NAME: &'static str = "Vietnamese đồng"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for VUV

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::VUV as currency::Currency>::Backing}

source§

const CODE: &'static str = "VUV"

source§

const SYMBOL: &'static str = "VT"

source§

const PROPER_NAME: &'static str = "Vanuatu Vatu"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for WST

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::WST as currency::Currency>::Backing}

source§

const CODE: &'static str = "WST"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "Samoan Tālā"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::PrefixAttached

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for XAF

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::XAF as currency::Currency>::Backing}

source§

const CODE: &'static str = "XAF"

source§

const SYMBOL: &'static str = "Fr"

source§

const PROPER_NAME: &'static str = "Central African CFA Franc"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for XAG

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::XAG as currency::Currency>::Backing}

source§

const CODE: &'static str = "XAG"

source§

const SYMBOL: &'static str = "t oz"

source§

const PROPER_NAME: &'static str = "Silver (Troy Ounce)"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for XAU

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::XAU as currency::Currency>::Backing}

source§

const CODE: &'static str = "XAU"

source§

const SYMBOL: &'static str = "t oz"

source§

const PROPER_NAME: &'static str = "Gold (Troy Ounce"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for XCD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::XCD as currency::Currency>::Backing}

source§

const CODE: &'static str = "XCD"

source§

const SYMBOL: &'static str = "$"

source§

const PROPER_NAME: &'static str = "East Caribbean Dollar"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for XOF

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::XOF as currency::Currency>::Backing}

source§

const CODE: &'static str = "XOF"

source§

const SYMBOL: &'static str = "Fr"

source§

const PROPER_NAME: &'static str = "West African CFA Franc"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for XPD

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::XPD as currency::Currency>::Backing}

source§

const CODE: &'static str = "XPD"

source§

const SYMBOL: &'static str = "t oz"

source§

const PROPER_NAME: &'static str = "Palladium (Troy Ounce)"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for XPF

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::XPF as currency::Currency>::Backing}

source§

const CODE: &'static str = "XPF"

source§

const SYMBOL: &'static str = "Fr"

source§

const PROPER_NAME: &'static str = "CFP Franc"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for XPT

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::XPT as currency::Currency>::Backing}

source§

const CODE: &'static str = "XPT"

source§

const SYMBOL: &'static str = "t oz"

source§

const PROPER_NAME: &'static str = "Platinum (Troy Ounce)"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for YER

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::YER as currency::Currency>::Backing}

source§

const CODE: &'static str = "YER"

source§

const SYMBOL: &'static str = "Rl"

source§

const PROPER_NAME: &'static str = "Yemeni Rial"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for ZAR

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::ZAR as currency::Currency>::Backing}

source§

const CODE: &'static str = "ZAR"

source§

const SYMBOL: &'static str = "R"

source§

const PROPER_NAME: &'static str = "South African Rand"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false

source§

impl Currency for ZMW

§

type Backing = u64

source§

const BASE: Self::Backing = {transmute(0x0000000000000064): <currency::ZMW as currency::Currency>::Backing}

source§

const CODE: &'static str = "ZMW"

source§

const SYMBOL: &'static str = "K"

source§

const PROPER_NAME: &'static str = "Zambian Kwacha"

source§

const STYLE: FormatStyle = crate::currency::FormatStyle::SuffixSpaced

source§

const IS_ISO: bool = true

source§

const IS_CRYPTO: bool = false