pub async fn exchange_rates(&self, currency: &str) -> Result<ExchangeRates> {
        let uri = UriTemplate::new("/v2/exchange-rates{?query*}")
            .set(&"currency", currency)
            .build();
        self.get(&uri).await
    }
///
/// **Get exchange rates**
///
/// Get current exchange rates. Default base currency is USD but it can be defined as any
/// supported currency. Returned rates will define the exchange rate for one unit of the base
/// currency.
///
/// https://developers.coinbase.com/api/v2#exchange-rates
///
Get exchange rates
Get current exchange rates. Default base currency is USD but it can be defined as any
supported currency. Returned rates will define the exchange rate for one unit of the base
currency.


Get exchange rates Get current exchange rates . Default base currency is USD but it can be defined as any supported currency . Returned rates will define the exchange rate for one unit of the base currency .
pub async fn exchange_rates(&self, currency: &str) -> Result<ExchangeRates> {
        let uri = UriTemplate::new("/v2/exchange-rates{?query*}")
            .set(&"currency", currency)
            .build();
        self.get(&uri).await
    }
pub async fn exchange_rates ( & self , currency : & str ) -> Result < ExchangeRates > { let uri = UriTemplate :: new ( " " ) . set ( & " " , currency ) . build ( ) ; self . get ( & uri ) . await }
Get exchange rates
Get current exchange rates.
Get exchange rates Get current exchange rates .
&self
currency
&str
&self
currency
&str