pub struct KlineData {
pub start: u64,
pub end: u64,
pub interval: String,
pub open: String,
pub close: String,
pub high: String,
pub low: String,
pub volume: String,
pub turnover: String,
pub confirm: bool,
pub timestamp: u64,
}Expand description
Kline (candlestick) data.
Fields§
§start: u64Start time (milliseconds).
end: u64End time (milliseconds).
interval: StringInterval.
open: StringOpen price.
close: StringClose price.
high: StringHigh price.
low: StringLow price.
volume: StringVolume.
turnover: StringTurnover.
confirm: boolWhether this kline is confirmed.
timestamp: u64Timestamp.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KlineData
impl<'de> Deserialize<'de> for KlineData
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
Auto Trait Implementations§
impl Freeze for KlineData
impl RefUnwindSafe for KlineData
impl Send for KlineData
impl Sync for KlineData
impl Unpin for KlineData
impl UnwindSafe for KlineData
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