pub struct OrderBookEntry {
pub price: Money,
pub quantity: Decimal,
}Expand description
Single entry in an order book.
Fields§
§price: MoneyPrice level.
quantity: DecimalQuantity available at this price.
Trait Implementations§
Source§impl Clone for OrderBookEntry
impl Clone for OrderBookEntry
Source§impl Debug for OrderBookEntry
impl Debug for OrderBookEntry
Source§impl<'de> Deserialize<'de> for OrderBookEntry
impl<'de> Deserialize<'de> for OrderBookEntry
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
Source§impl PartialEq for OrderBookEntry
impl PartialEq for OrderBookEntry
Source§impl Serialize for OrderBookEntry
impl Serialize for OrderBookEntry
impl StructuralPartialEq for OrderBookEntry
Auto Trait Implementations§
impl Forget for OrderBookEntry
impl Freeze for OrderBookEntry
impl Move for OrderBookEntry
impl RefUnwindSafe for OrderBookEntry
impl Send for OrderBookEntry
impl Sync for OrderBookEntry
impl Unpin for OrderBookEntry
impl UnsafeUnpin for OrderBookEntry
impl UnwindSafe for OrderBookEntry
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