pub struct KlineMsg {Show 16 fields
pub start_time: Timestamp,
pub close_time: Timestamp,
pub symbol: String,
pub interval: KlineInterval,
pub first_trade_id: i64,
pub last_trade_id: i64,
pub open_price: Decimal,
pub close_price: Decimal,
pub high_price: Decimal,
pub low_price: Decimal,
pub base_asset_volume: Decimal,
pub trade_number: i64,
pub is_closed: bool,
pub quote_asset_volume: Decimal,
pub taker_buy_base_asset_volume: Decimal,
pub taker_buy_quote_asset_volume: Decimal,
}Fields§
§start_time: TimestampKline start time
close_time: TimestampKline close time
symbol: StringSymbol
interval: KlineIntervalInterval
first_trade_id: i64First trade ID
last_trade_id: i64Last trade ID
open_price: DecimalOpen price
close_price: DecimalClose price
high_price: DecimalHigh price
low_price: DecimalLow price
base_asset_volume: DecimalBase asset volume
trade_number: i64Number of trades
is_closed: boolIs this kline closed?
quote_asset_volume: DecimalQuote asset volume
taker_buy_base_asset_volume: DecimalTaker buy base asset volume
taker_buy_quote_asset_volume: DecimalTaker buy quote asset volume
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KlineMsg
impl<'de> Deserialize<'de> for KlineMsg
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for KlineMsg
Auto Trait Implementations§
impl Freeze for KlineMsg
impl RefUnwindSafe for KlineMsg
impl Send for KlineMsg
impl Sync for KlineMsg
impl Unpin for KlineMsg
impl UnwindSafe for KlineMsg
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