Struct alphavantage::exchange_rate::ExchangeRate[][src]

pub struct ExchangeRate {
    pub from: Currency,
    pub to: Currency,
    pub rate: f64,
    pub date: DateTime<Tz>,
}

Represents the exchange rate for a currency pair.

Fields

Currency to get the exchange rate for.

Destination currency for the exchange rate.

Value of the exchange rate.

Date the exchange rate corresponds to.

Trait Implementations

impl Debug for ExchangeRate
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ExchangeRate
[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