///
/// **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 fn buy_price(&self, currency_pair: &str) -> A::Result
    where
        A: Adapter<CurrencyPrice> + 'static,
    {
        self.get_pub(&format!("/currency_pair/{}/buy", currency_pair))
    }
pub fn buy_price ( & self , currency_pair : & str ) -> A :: Result where A : Adapter < CurrencyPrice > + ' static , { self . get_pub ( & format ! ( " " currency_pair ) ) }
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
currency_pair
&str