pub struct MinKlineData {
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 pre_close: f64,
}Expand description
单条 1 分钟 K 线记录。
Fields§
§timestamp_ms: i64北京时间毫秒时间戳。
open: f64开盘价。
high: f64最高价。
low: f64最低价。
close: f64收盘价。
volume: u32成交量。
amount: f64成交额。
open_interest: u32持仓量。
pre_close: f64文件中记录的昨收价。
Trait Implementations§
Source§impl Clone for MinKlineData
impl Clone for MinKlineData
Source§fn clone(&self) -> MinKlineData
fn clone(&self) -> MinKlineData
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 MinKlineData
impl RefUnwindSafe for MinKlineData
impl Send for MinKlineData
impl Sync for MinKlineData
impl Unpin for MinKlineData
impl UnsafeUnpin for MinKlineData
impl UnwindSafe for MinKlineData
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