pub struct CachedOrderBook {
pub ask_list: Vec<CachedOrderBookLevel>,
pub bid_list: Vec<CachedOrderBookLevel>,
pub svr_recv_time_bid: Option<String>,
pub svr_recv_time_bid_timestamp: Option<f64>,
pub svr_recv_time_ask: Option<String>,
pub svr_recv_time_ask_timestamp: Option<f64>,
}Expand description
摆盘缓存 (对齐 C++ Qot_UpdateOrderBook::S2C)
Fields§
§ask_list: Vec<CachedOrderBookLevel>§bid_list: Vec<CachedOrderBookLevel>§svr_recv_time_bid: Option<String>§svr_recv_time_bid_timestamp: Option<f64>§svr_recv_time_ask: Option<String>§svr_recv_time_ask_timestamp: Option<f64>Trait Implementations§
Source§impl Clone for CachedOrderBook
impl Clone for CachedOrderBook
Source§fn clone(&self) -> CachedOrderBook
fn clone(&self) -> CachedOrderBook
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 moreSource§impl Debug for CachedOrderBook
impl Debug for CachedOrderBook
Source§impl Default for CachedOrderBook
impl Default for CachedOrderBook
Source§fn default() -> CachedOrderBook
fn default() -> CachedOrderBook
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CachedOrderBook
impl RefUnwindSafe for CachedOrderBook
impl Send for CachedOrderBook
impl Sync for CachedOrderBook
impl Unpin for CachedOrderBook
impl UnwindSafe for CachedOrderBook
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