pub struct OrderInfo {
pub order_id: OrderId,
pub participant: ParticipantId,
pub side: Side,
pub price: u64,
pub qty: u64,
}Expand description
Read-only view of one live resting order returned by
Book::get_order and yielded by OrdersAt.
Fields§
§order_id: OrderIdCaller-supplied order identifier.
participant: ParticipantIdOwner of the order.
side: SideWhich side of the book the order rests on.
price: u64Raw limit price in quote units.
qty: u64Remaining open quantity.
Trait Implementations§
impl Copy for OrderInfo
impl Eq for OrderInfo
impl StructuralPartialEq for OrderInfo
Auto Trait Implementations§
impl Forget for OrderInfo
impl Freeze for OrderInfo
impl Move for OrderInfo
impl RefUnwindSafe for OrderInfo
impl Send for OrderInfo
impl Sync for OrderInfo
impl Unpin for OrderInfo
impl UnsafeUnpin for OrderInfo
impl UnwindSafe for OrderInfo
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