#[repr(align(16))]pub struct ParsedKlineData {}Expand description
Parsed kline data with Decimal values
Fields§
§symbol: StringSymbol
interval: StringInterval
start_time: u64Start time
close_time: u64Close time
open: DecimalOpen price
high: DecimalHigh price
low: DecimalLow price
close: DecimalClose price
volume: DecimalVolume
number_of_trades: u64Number of trades
is_closed: boolIs closed
quote_volume: DecimalQuote asset volume
event_time: u64Event time (when message was generated)
Trait Implementations§
Source§impl Clone for ParsedKlineData
impl Clone for ParsedKlineData
Source§fn clone(&self) -> ParsedKlineData
fn clone(&self) -> ParsedKlineData
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsedKlineData
impl Debug for ParsedKlineData
Source§impl From<KlineMessage> for ParsedKlineData
impl From<KlineMessage> for ParsedKlineData
Source§fn from(msg: KlineMessage) -> Self
fn from(msg: KlineMessage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParsedKlineData
impl RefUnwindSafe for ParsedKlineData
impl Send for ParsedKlineData
impl Sync for ParsedKlineData
impl Unpin for ParsedKlineData
impl UnwindSafe for ParsedKlineData
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