pub struct AlignedKlineSet {
pub main_id: i64,
pub timestamp: DateTime<Utc>,
pub klines: HashMap<String, Kline>,
}Expand description
对齐的K线集合(一个时间点的多个合约)
Fields§
§main_id: i64主合约的K线ID
timestamp: DateTime<Utc>时间戳
klines: HashMap<String, Kline>symbol -> Kline
Trait Implementations§
Source§impl Clone for AlignedKlineSet
impl Clone for AlignedKlineSet
Source§fn clone(&self) -> AlignedKlineSet
fn clone(&self) -> AlignedKlineSet
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 AlignedKlineSet
impl RefUnwindSafe for AlignedKlineSet
impl Send for AlignedKlineSet
impl Sync for AlignedKlineSet
impl Unpin for AlignedKlineSet
impl UnwindSafe for AlignedKlineSet
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