Struct currency_layer::CurrencyRates
source · [−]pub struct CurrencyRates<'a> {
pub timestamp: DateTime<Utc>,
pub quotes: HashMap<String, ExchangeRate<'a, Currency>>,
}
Fields
timestamp: DateTime<Utc>
Time of the request
quotes: HashMap<String, ExchangeRate<'a, Currency>>
Currency rates keyed by target currency code
Trait Implementations
sourceimpl<'a> Clone for CurrencyRates<'a>
impl<'a> Clone for CurrencyRates<'a>
sourcefn clone(&self) -> CurrencyRates<'a>
fn clone(&self) -> CurrencyRates<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl<'a> RefUnwindSafe for CurrencyRates<'a>
impl<'a> Send for CurrencyRates<'a>
impl<'a> Sync for CurrencyRates<'a>
impl<'a> Unpin for CurrencyRates<'a>
impl<'a> UnwindSafe for CurrencyRates<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more