pub struct GetExchangeRatesRequestQuery {
pub target: String,
pub source: String,
}Fields§
§target: StringSpecify the quote currency to request data for.
- Example:
"EUR".to_string()
source: StringSpecify the base currency to request data for.
- Example:
"USD".to_string()
Trait Implementations§
Source§impl Clone for GetExchangeRatesRequestQuery
impl Clone for GetExchangeRatesRequestQuery
Source§fn clone(&self) -> GetExchangeRatesRequestQuery
fn clone(&self) -> GetExchangeRatesRequestQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetExchangeRatesRequestQuery
impl Debug for GetExchangeRatesRequestQuery
impl StructuralPartialEq for GetExchangeRatesRequestQuery
Source§impl Validate for GetExchangeRatesRequestQuery
impl Validate for GetExchangeRatesRequestQuery
Auto Trait Implementations§
impl Freeze for GetExchangeRatesRequestQuery
impl RefUnwindSafe for GetExchangeRatesRequestQuery
impl Send for GetExchangeRatesRequestQuery
impl Sync for GetExchangeRatesRequestQuery
impl Unpin for GetExchangeRatesRequestQuery
impl UnsafeUnpin for GetExchangeRatesRequestQuery
impl UnwindSafe for GetExchangeRatesRequestQuery
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