pub struct CachedOrderBookLevel {
pub price: f64,
pub volume: i64,
pub order_count: i32,
}Expand description
摆盘单层
Fields§
§price: f64§volume: i64§order_count: i32Trait Implementations§
Source§impl Clone for CachedOrderBookLevel
impl Clone for CachedOrderBookLevel
Source§fn clone(&self) -> CachedOrderBookLevel
fn clone(&self) -> CachedOrderBookLevel
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 CachedOrderBookLevel
impl RefUnwindSafe for CachedOrderBookLevel
impl Send for CachedOrderBookLevel
impl Sync for CachedOrderBookLevel
impl Unpin for CachedOrderBookLevel
impl UnwindSafe for CachedOrderBookLevel
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