pub struct Depth {
pub position: i32,
pub price: Decimal,
pub volume: i64,
pub order_num: i64,
}
Expand description
Depth
Fields§
§position: i32
Position
price: Decimal
Price
volume: i64
Volume
order_num: i64
Number of orders
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Depth
impl RefUnwindSafe for Depth
impl Send for Depth
impl Sync for Depth
impl Unpin for Depth
impl UnwindSafe for Depth
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