pub struct GetExchangeMarketsRequest<'a> { /* private fields */ }Expand description
Request for getting a list of all available markets on a given exchange on coinpaprika.com /exchanges/{exchange_id}/markets
Implementations§
Source§impl<'a> GetExchangeMarketsRequest<'a>
impl<'a> GetExchangeMarketsRequest<'a>
pub fn new(client: &'a Client, exchange_id: &str) -> Self
Sourcepub fn quotes(
&mut self,
quotes: Vec<&str>,
) -> &'a mut GetExchangeMarketsRequest<'_>
pub fn quotes( &mut self, quotes: Vec<&str>, ) -> &'a mut GetExchangeMarketsRequest<'_>
List of quotes to return. Up to 3 quotes at once. Currently allowed values: BTC, ETH, USD, EUR, PLN, KRW, GBP, CAD, JPY, RUB, TRY, NZD, AUD, CHF, UAH, HKD, SGD, NGN, PHP, MXN, BRL, THB, CLP, CNY, CZK, DKK, HUF, IDR, ILS, INR, MYR, NOK, PKR, SEK, TWD, ZAR, VND, BOB, COP, PEN, ARS, ISK
pub async fn send(&self) -> Result<Vec<ExchangeMarket>, Error>
Auto Trait Implementations§
impl<'a> Freeze for GetExchangeMarketsRequest<'a>
impl<'a> !RefUnwindSafe for GetExchangeMarketsRequest<'a>
impl<'a> Send for GetExchangeMarketsRequest<'a>
impl<'a> Sync for GetExchangeMarketsRequest<'a>
impl<'a> Unpin for GetExchangeMarketsRequest<'a>
impl<'a> !UnwindSafe for GetExchangeMarketsRequest<'a>
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