pub struct Kline {
pub start_ms: i64,
pub open: Decimal,
pub high: Decimal,
pub low: Decimal,
pub close: Decimal,
pub volume: Decimal,
}Expand description
One candle: the open time and the prices, from the list of /v5/market/kline.
Fields§
§start_ms: i64The start of the candle, milliseconds.
open: DecimalThe open price.
high: DecimalThe highest price.
low: DecimalThe lowest price.
close: DecimalThe close price.
volume: DecimalThe volume in the base coin.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Kline
Auto Trait Implementations§
impl Freeze for Kline
impl RefUnwindSafe for Kline
impl Send for Kline
impl Sync for Kline
impl Unpin for Kline
impl UnsafeUnpin for Kline
impl UnwindSafe for Kline
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