Enum lfest::prelude::LimitOrderUpdate
source · pub enum LimitOrderUpdate<Q, UserOrderId>{
PartiallyFilled(LimitOrder<Q, UserOrderId, Pending<Q>>),
FullyFilled(LimitOrder<Q, UserOrderId, Filled>),
}
Expand description
Contains the possible updates to limit orders.
Variants§
PartiallyFilled(LimitOrder<Q, UserOrderId, Pending<Q>>)
The limit order was partially filled.
FullyFilled(LimitOrder<Q, UserOrderId, Filled>)
The limit order was fully filled.
Trait Implementations§
source§impl<Q, UserOrderId> Clone for LimitOrderUpdate<Q, UserOrderId>
impl<Q, UserOrderId> Clone for LimitOrderUpdate<Q, UserOrderId>
source§fn clone(&self) -> LimitOrderUpdate<Q, UserOrderId>
fn clone(&self) -> LimitOrderUpdate<Q, UserOrderId>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<Q, UserOrderId> Debug for LimitOrderUpdate<Q, UserOrderId>
impl<Q, UserOrderId> Debug for LimitOrderUpdate<Q, UserOrderId>
source§impl<Q, UserOrderId> PartialEq for LimitOrderUpdate<Q, UserOrderId>
impl<Q, UserOrderId> PartialEq for LimitOrderUpdate<Q, UserOrderId>
source§fn eq(&self, other: &LimitOrderUpdate<Q, UserOrderId>) -> bool
fn eq(&self, other: &LimitOrderUpdate<Q, UserOrderId>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<Q, UserOrderId> Eq for LimitOrderUpdate<Q, UserOrderId>
impl<Q, UserOrderId> StructuralPartialEq for LimitOrderUpdate<Q, UserOrderId>
Auto Trait Implementations§
impl<Q, UserOrderId> Freeze for LimitOrderUpdate<Q, UserOrderId>
impl<Q, UserOrderId> RefUnwindSafe for LimitOrderUpdate<Q, UserOrderId>where
UserOrderId: RefUnwindSafe,
Q: RefUnwindSafe,
impl<Q, UserOrderId> Send for LimitOrderUpdate<Q, UserOrderId>where
UserOrderId: Send,
impl<Q, UserOrderId> Sync for LimitOrderUpdate<Q, UserOrderId>
impl<Q, UserOrderId> Unpin for LimitOrderUpdate<Q, UserOrderId>
impl<Q, UserOrderId> UnwindSafe for LimitOrderUpdate<Q, UserOrderId>where
UserOrderId: UnwindSafe,
Q: 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