pub async fn buy_price(&self, pair: &str) -> Result<CurrencyPrice> {
        let uri = UriTemplate::new("/v2/currency_pair/{pair}")
            .set(&"pair", pair)
            .build();
        self.get(&uri).await
    }
///
/// **Get buy price**
///
/// Get the total price to buy one bitcoin or ether.
///
/// https://developers.coinbase.com/api/v2#get-buy-price
///
Get buy price
Get the total price to buy one bitcoin or ether.


Get buy price Get the total price to buy one bitcoin or ether .
pub async fn buy_price(&self, pair: &str) -> Result<CurrencyPrice> {
        let uri = UriTemplate::new("/v2/currency_pair/{pair}")
            .set(&"pair", pair)
            .build();
        self.get(&uri).await
    }
pub async fn buy_price ( & self , pair : & str ) -> Result < CurrencyPrice > { let uri = UriTemplate :: new ( " " ) . set ( & " " , pair ) . build ( ) ; self . get ( & uri ) . await }
Get buy price
Get the total price to buy one bitcoin or ether.
Get buy price Get the total price to buy one bitcoin or ether .
&self
pair
&str
&self
pair
&str