pub struct CachedTicker {
pub time: String,
pub sequence: i64,
pub dir: i32,
pub price: f64,
pub volume: i64,
pub turnover: f64,
pub recv_time: Option<f64>,
pub ticker_type: Option<i32>,
pub push_data_type: Option<i32>,
pub timestamp: Option<f64>,
}Expand description
逐笔成交缓存 (对齐 C++ Qot_UpdateTicker::S2C)
Fields§
§time: String§sequence: i64§dir: i32§price: f64§volume: i64§turnover: f64§recv_time: Option<f64>§ticker_type: Option<i32>§push_data_type: Option<i32>§timestamp: Option<f64>Trait Implementations§
Source§impl Clone for CachedTicker
impl Clone for CachedTicker
Source§fn clone(&self) -> CachedTicker
fn clone(&self) -> CachedTicker
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 CachedTicker
impl RefUnwindSafe for CachedTicker
impl Send for CachedTicker
impl Sync for CachedTicker
impl Unpin for CachedTicker
impl UnwindSafe for CachedTicker
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