#[non_exhaustive]pub enum LimitOrderReason {
ClientOrder,
Replacement,
Unknown(String),
}Expand description
The reason that the Limit Order was initiated
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.
ClientOrder
The Limit Order was initiated at the request of a client
Replacement
The Limit Order was initiated as a replacement for an existing Order
Unknown(String)
An unrecognized provider value, preserved for forward compatibility.
Implementations§
Trait Implementations§
Source§impl Clone for LimitOrderReason
impl Clone for LimitOrderReason
Source§impl Debug for LimitOrderReason
impl Debug for LimitOrderReason
Source§impl<'de> Deserialize<'de> for LimitOrderReason
impl<'de> Deserialize<'de> for LimitOrderReason
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LimitOrderReason
Source§impl Hash for LimitOrderReason
impl Hash for LimitOrderReason
Source§impl PartialEq for LimitOrderReason
impl PartialEq for LimitOrderReason
Source§impl Serialize for LimitOrderReason
impl Serialize for LimitOrderReason
impl StructuralPartialEq for LimitOrderReason
Auto Trait Implementations§
impl Freeze for LimitOrderReason
impl RefUnwindSafe for LimitOrderReason
impl Send for LimitOrderReason
impl Sync for LimitOrderReason
impl Unpin for LimitOrderReason
impl UnsafeUnpin for LimitOrderReason
impl UnwindSafe for LimitOrderReason
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