pub enum ExecutionEvent {
OrderAccepted(Order),
OrderRejected(Order, SmartString),
OrderFilled(Order),
PartialFill(Order, u64),
}Expand description
Events emitted during order execution lifecycle
Variants§
OrderAccepted(Order)
Order was accepted by the exchange
OrderRejected(Order, SmartString)
Order was rejected with a reason
OrderFilled(Order)
Order was completely filled
PartialFill(Order, u64)
Order was partially filled with the filled quantity
Trait Implementations§
Source§impl Clone for ExecutionEvent
impl Clone for ExecutionEvent
Source§fn clone(&self) -> ExecutionEvent
fn clone(&self) -> ExecutionEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExecutionEvent
impl RefUnwindSafe for ExecutionEvent
impl Send for ExecutionEvent
impl Sync for ExecutionEvent
impl Unpin for ExecutionEvent
impl UnwindSafe for ExecutionEvent
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