pub struct TickerPrice { /* private fields */ }
Expand description
GET /api/v3/ticker/price
Latest price for a symbol or symbols.
- If the symbol is not sent, prices for all symbols will be returned in an array.
Weight(IP):
1
for a single symbol;2
when the symbol parameter is omitted;
Example
use binance_spot_connector_rust::market;
let request = market::ticker_price().symbol("BNBUSDT").symbols(vec!["BTCUSDT","BNBBTC"]);
Implementations§
Trait Implementations§
source§impl Default for TickerPrice
impl Default for TickerPrice
source§impl From<TickerPrice> for Request
impl From<TickerPrice> for Request
source§fn from(request: TickerPrice) -> Request
fn from(request: TickerPrice) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for TickerPrice
impl Send for TickerPrice
impl Sync for TickerPrice
impl Unpin for TickerPrice
impl UnwindSafe for TickerPrice
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