pub struct PriceKLineRow {
pub start_time: Timestamp,
pub open_price: Decimal,
pub high_price: Decimal,
pub low_price: Decimal,
pub close_price: Decimal,
}Expand description
A price-only kline row: [startTime, open, high, low, close].
Fields§
§start_time: TimestampStart time of the candle, milliseconds.
open_price: DecimalOpen price.
high_price: DecimalHighest price.
low_price: DecimalLowest price.
close_price: DecimalClose price; the latest price while the candle is open.
Trait Implementations§
Source§impl Debug for PriceKLineRow
impl Debug for PriceKLineRow
Source§impl<'de> Deserialize<'de> for PriceKLineRow
impl<'de> Deserialize<'de> for PriceKLineRow
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
Source§impl PartialEq for PriceKLineRow
impl PartialEq for PriceKLineRow
impl StructuralPartialEq for PriceKLineRow
Auto Trait Implementations§
impl Freeze for PriceKLineRow
impl RefUnwindSafe for PriceKLineRow
impl Send for PriceKLineRow
impl Sync for PriceKLineRow
impl Unpin for PriceKLineRow
impl UnsafeUnpin for PriceKLineRow
impl UnwindSafe for PriceKLineRow
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