pub enum CancelReason {
Requested,
ByParticipant,
SelfTradePrevention,
}Expand description
Why an order was cancelled.
Variants§
Requested
Explicit cancel command from the caller.
ByParticipant
The participant cancelled all of its orders in one command.
SelfTradePrevention
Self-trade prevention cancelled this resting order.
Trait Implementations§
Source§impl Clone for CancelReason
impl Clone for CancelReason
impl Copy for CancelReason
Source§impl Debug for CancelReason
impl Debug for CancelReason
impl Eq for CancelReason
Source§impl Hash for CancelReason
impl Hash for CancelReason
Source§impl PartialEq for CancelReason
impl PartialEq for CancelReason
impl StructuralPartialEq for CancelReason
Auto Trait Implementations§
impl Forget for CancelReason
impl Freeze for CancelReason
impl Move for CancelReason
impl RefUnwindSafe for CancelReason
impl Send for CancelReason
impl Sync for CancelReason
impl Unpin for CancelReason
impl UnsafeUnpin for CancelReason
impl UnwindSafe for CancelReason
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