Struct alphavantage::exchange_rate::Currency[][src]

pub struct Currency {
    pub name: String,
    pub code: String,
}

Represents a currency.

Fields

The currency's name.

The currency's code. Can be a physical currency using ISO 4217 or a cryptocurrency.

Trait Implementations

impl Debug for Currency
[src]

Formats the value using the given formatter. Read more

impl Eq for Currency
[src]

impl PartialEq for Currency
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Currency

impl Sync for Currency