pub struct DailyKlineData {
pub timestamp_ms: i64,
pub open: f64,
pub high: f64,
pub low: f64,
pub close: f64,
pub volume: u32,
pub amount: f64,
pub open_interest: u32,
pub file_pre_close: f64,
}Expand description
单条日线原始记录。
Fields§
§timestamp_ms: i64北京时间毫秒时间戳。
open: f64开盘价。
high: f64最高价。
low: f64最低价。
close: f64收盘价。
volume: u32成交量。
amount: f64成交额,已按 QMT 日线比例缩放。
open_interest: u32持仓量。
file_pre_close: f64文件原始昨收价。
Trait Implementations§
Source§impl Clone for DailyKlineData
impl Clone for DailyKlineData
Source§fn clone(&self) -> DailyKlineData
fn clone(&self) -> DailyKlineData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DailyKlineData
impl RefUnwindSafe for DailyKlineData
impl Send for DailyKlineData
impl Sync for DailyKlineData
impl Unpin for DailyKlineData
impl UnsafeUnpin for DailyKlineData
impl UnwindSafe for DailyKlineData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more