Struct binance_spot_connector_rust::market::book_ticker::BookTicker
source · pub struct BookTicker { /* private fields */ }
Expand description
GET /api/v3/ticker/bookTicker
Best price/qty on the order book for a symbol or symbols.
- If the symbol is not sent, bookTickers 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::book_ticker().symbol("BNBUSDT").symbols(vec!["BTCUSDT","BNBBTC"]);
Implementations§
Trait Implementations§
source§impl Default for BookTicker
impl Default for BookTicker
source§impl From<BookTicker> for Request
impl From<BookTicker> for Request
source§fn from(request: BookTicker) -> Request
fn from(request: BookTicker) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for BookTicker
impl Send for BookTicker
impl Sync for BookTicker
impl Unpin for BookTicker
impl UnwindSafe for BookTicker
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