pub struct CurrencyPair {
pub base: Currency,
pub quote: Currency,
}Expand description
Currency pair for exchange rate queries.
Fields§
§base: CurrencyBase currency.
quote: CurrencyQuote currency.
Implementations§
Trait Implementations§
Source§impl Clone for CurrencyPair
impl Clone for CurrencyPair
Source§fn clone(&self) -> CurrencyPair
fn clone(&self) -> CurrencyPair
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CurrencyPair
impl RefUnwindSafe for CurrencyPair
impl Send for CurrencyPair
impl Sync for CurrencyPair
impl Unpin for CurrencyPair
impl UnwindSafe for CurrencyPair
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more