pub struct BookLevel {
pub price: Decimal,
pub size: Decimal,
}Expand description
A single level in the order book.
Fields§
§price: DecimalPrice level
size: DecimalSize at this price
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BookLevel
impl<'de> Deserialize<'de> for BookLevel
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 BookLevel
impl RefUnwindSafe for BookLevel
impl Send for BookLevel
impl Sync for BookLevel
impl Unpin for BookLevel
impl UnwindSafe for BookLevel
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