pub struct LevelState {
pub head: u32,
pub tail: u32,
pub qty: u64,
pub count: u32,
}Expand description
One price level’s persisted state (ARCHITECTURE.md section 10.2, level arrays): list ends, aggregate quantity, and order count.
Fields§
§head: u32First slot at the level, or NIL when the level is empty.
tail: u32Last slot at the level, or NIL when the level is empty.
qty: u64Sum of remaining quantities at the level.
count: u32Number of live orders at the level.
Trait Implementations§
Source§impl Clone for LevelState
impl Clone for LevelState
impl Copy for LevelState
Source§impl Debug for LevelState
impl Debug for LevelState
impl Eq for LevelState
Source§impl PartialEq for LevelState
impl PartialEq for LevelState
impl StructuralPartialEq for LevelState
Auto Trait Implementations§
impl Forget for LevelState
impl Freeze for LevelState
impl Move for LevelState
impl RefUnwindSafe for LevelState
impl Send for LevelState
impl Sync for LevelState
impl Unpin for LevelState
impl UnsafeUnpin for LevelState
impl UnwindSafe for LevelState
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