Struct binance_spot_connector_rust::market::klines::Klines
source · pub struct Klines { /* private fields */ }
Expand description
GET /api/v3/klines
Kline/candlestick bars for a symbol. Klines are uniquely identified by their open time.
- If
startTime
andendTime
are not sent, the most recent klines are returned.
Weight(IP): 1
Example
use binance_spot_connector_rust::market::{self, klines::KlineInterval};
let request = market::klines("BTCUSDT", KlineInterval::Minutes1)
.start_time(1654079109000)
.end_time(1654079209000);
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Klines
impl Send for Klines
impl Sync for Klines
impl Unpin for Klines
impl UnwindSafe for Klines
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