pub enum Side {
Bid,
Ask,
}Expand description
Which side of the book an order belongs to.
Variants§
Bid
Buy side. Bids rest below asks; the best bid is the highest price.
Ask
Sell side. The best ask is the lowest price.
Implementations§
Trait Implementations§
impl Copy for Side
impl Eq for Side
impl StructuralPartialEq for Side
Auto Trait Implementations§
impl Forget for Side
impl Freeze for Side
impl Move for Side
impl RefUnwindSafe for Side
impl Send for Side
impl Sync for Side
impl Unpin for Side
impl UnsafeUnpin for Side
impl UnwindSafe for Side
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