pub struct KLineSnapshotMsg {
pub start: Timestamp,
pub end: Timestamp,
pub interval: Interval,
pub open: Decimal,
pub close: Decimal,
pub high: Decimal,
pub low: Decimal,
pub volume: Decimal,
pub turnover: Decimal,
pub confirm: bool,
pub timestamp: Timestamp,
}Fields§
§start: Timestamp§end: Timestamp§interval: Interval§open: Decimal§close: Decimal§high: Decimal§low: Decimal§volume: Decimal§turnover: Decimal§confirm: bool§timestamp: TimestampTrait Implementations§
Source§impl Debug for KLineSnapshotMsg
impl Debug for KLineSnapshotMsg
Source§impl<'de> Deserialize<'de> for KLineSnapshotMsg
impl<'de> Deserialize<'de> for KLineSnapshotMsg
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 KLineSnapshotMsg
impl PartialEq for KLineSnapshotMsg
Source§fn eq(&self, other: &KLineSnapshotMsg) -> bool
fn eq(&self, other: &KLineSnapshotMsg) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for KLineSnapshotMsg
Auto Trait Implementations§
impl Freeze for KLineSnapshotMsg
impl RefUnwindSafe for KLineSnapshotMsg
impl Send for KLineSnapshotMsg
impl Sync for KLineSnapshotMsg
impl Unpin for KLineSnapshotMsg
impl UnsafeUnpin for KLineSnapshotMsg
impl UnwindSafe for KLineSnapshotMsg
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