pub struct BinanceKline {
pub open_time: i64,
pub open_price: i64,
pub high_price: i64,
pub low_price: i64,
pub close_price: i64,
pub volume: [u8; 16],
pub close_time: i64,
pub quote_volume: [u8; 16],
pub num_trades: i64,
pub taker_buy_base_volume: [u8; 16],
pub taker_buy_quote_volume: [u8; 16],
}Expand description
A single kline (candlestick) from Binance.
Fields§
§open_time: i64Kline open time in milliseconds.
open_price: i64Open price mantissa.
high_price: i64High price mantissa.
low_price: i64Low price mantissa.
close_price: i64Close price mantissa.
volume: [u8; 16]Volume (base asset) as 128-bit bytes.
close_time: i64Kline close time in milliseconds.
quote_volume: [u8; 16]Quote volume as 128-bit bytes.
num_trades: i64Number of trades.
taker_buy_base_volume: [u8; 16]Taker buy base volume as 128-bit bytes.
taker_buy_quote_volume: [u8; 16]Taker buy quote volume as 128-bit bytes.
Trait Implementations§
Source§impl Clone for BinanceKline
impl Clone for BinanceKline
Source§fn clone(&self) -> BinanceKline
fn clone(&self) -> BinanceKline
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinanceKline
impl Debug for BinanceKline
Source§impl PartialEq for BinanceKline
impl PartialEq for BinanceKline
impl StructuralPartialEq for BinanceKline
Auto Trait Implementations§
impl Freeze for BinanceKline
impl RefUnwindSafe for BinanceKline
impl Send for BinanceKline
impl Sync for BinanceKline
impl Unpin for BinanceKline
impl UnwindSafe for BinanceKline
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more