pub struct OrderBook<O>where
O: Order,{
pub bids: Vec<O>,
pub asks: Vec<O>,
}
Fields§
§bids: Vec<O>
§asks: Vec<O>
Implementations§
Trait Implementations§
Source§impl<O: Order> TopOfBook for OrderBook<O>
impl<O: Order> TopOfBook for OrderBook<O>
Auto Trait Implementations§
impl<O> Freeze for OrderBook<O>
impl<O> RefUnwindSafe for OrderBook<O>where
O: RefUnwindSafe,
impl<O> Send for OrderBook<O>where
O: Send,
impl<O> Sync for OrderBook<O>where
O: Sync,
impl<O> Unpin for OrderBook<O>where
O: Unpin,
impl<O> UnwindSafe for OrderBook<O>where
O: UnwindSafe,
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