pub struct CachedKLine {
pub time: String,
pub open_price: f64,
pub high_price: f64,
pub low_price: f64,
pub close_price: f64,
pub volume: i64,
pub turnover: f64,
}Expand description
K 线缓存
Fields§
§time: String§open_price: f64§high_price: f64§low_price: f64§close_price: f64§volume: i64§turnover: f64Trait Implementations§
Source§impl Clone for CachedKLine
impl Clone for CachedKLine
Source§fn clone(&self) -> CachedKLine
fn clone(&self) -> CachedKLine
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 CachedKLine
impl RefUnwindSafe for CachedKLine
impl Send for CachedKLine
impl Sync for CachedKLine
impl Unpin for CachedKLine
impl UnwindSafe for CachedKLine
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