#[non_exhaustive]pub enum DealStatus {
Filled,
PartiallyFilled,
Rejected,
InternallyRejected,
Error,
Missed,
}Expand description
State of a deal.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Filled
Executed in full.
PartiallyFilled
Executed in part.
Rejected
Refused by the liquidity provider.
InternallyRejected
Refused by the server.
Error
Failed with an error.
Missed
Missed by the liquidity provider.
Trait Implementations§
Source§impl Clone for DealStatus
impl Clone for DealStatus
impl Copy for DealStatus
Source§impl Debug for DealStatus
impl Debug for DealStatus
impl Eq for DealStatus
Source§impl Hash for DealStatus
impl Hash for DealStatus
Source§impl PartialEq for DealStatus
impl PartialEq for DealStatus
impl StructuralPartialEq for DealStatus
Auto Trait Implementations§
impl Forget for DealStatus
impl Freeze for DealStatus
impl Move for DealStatus
impl RefUnwindSafe for DealStatus
impl Send for DealStatus
impl Sync for DealStatus
impl Unpin for DealStatus
impl UnsafeUnpin for DealStatus
impl UnwindSafe for DealStatus
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