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