pub struct LevelCount {
pub bids: u32,
pub asks: u32,
}Expand description
Per-side resting-level counts.
Fields§
§bids: u32Number of bid levels (e.g. 12).
asks: u32Number of ask levels (e.g. 12).
Trait Implementations§
Source§impl Clone for LevelCount
impl Clone for LevelCount
Source§fn clone(&self) -> LevelCount
fn clone(&self) -> LevelCount
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 LevelCount
impl Debug for LevelCount
Source§impl<'de> Deserialize<'de> for LevelCount
impl<'de> Deserialize<'de> for LevelCount
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LevelCount
impl RefUnwindSafe for LevelCount
impl Send for LevelCount
impl Sync for LevelCount
impl Unpin for LevelCount
impl UnsafeUnpin for LevelCount
impl UnwindSafe for LevelCount
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