pub struct GetCurrencyPairsRequest {
pub query: GetCurrencyPairsRequestQuery,
}Expand description
Obtains available currency pairs corresponding to the given target currency.
Fields§
§query: GetCurrencyPairsRequestQueryImplementations§
Source§impl GetCurrencyPairsRequest
impl GetCurrencyPairsRequest
Sourcepub async fn parse_response(req: Response) -> Result<GetCurrencyPairsResponse>
pub async fn parse_response(req: Response) -> Result<GetCurrencyPairsResponse>
Parse the HTTP response into the response enum.
Trait Implementations§
Source§impl Clone for GetCurrencyPairsRequest
impl Clone for GetCurrencyPairsRequest
Source§fn clone(&self) -> GetCurrencyPairsRequest
fn clone(&self) -> GetCurrencyPairsRequest
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 moreSource§impl Debug for GetCurrencyPairsRequest
impl Debug for GetCurrencyPairsRequest
Source§impl Default for GetCurrencyPairsRequest
impl Default for GetCurrencyPairsRequest
Source§impl Validate for GetCurrencyPairsRequest
impl Validate for GetCurrencyPairsRequest
Source§impl<'v_a> ValidateArgs<'v_a> for GetCurrencyPairsRequest
impl<'v_a> ValidateArgs<'v_a> for GetCurrencyPairsRequest
Auto Trait Implementations§
impl Freeze for GetCurrencyPairsRequest
impl RefUnwindSafe for GetCurrencyPairsRequest
impl Send for GetCurrencyPairsRequest
impl Sync for GetCurrencyPairsRequest
impl Unpin for GetCurrencyPairsRequest
impl UnsafeUnpin for GetCurrencyPairsRequest
impl UnwindSafe for GetCurrencyPairsRequest
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