#[non_exhaustive]pub enum StopOrderReason {
ClientOrder,
Replacement,
Other(String),
}Expand description
The reason that the Stop 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
CLIENT_ORDER.
Replacement
REPLACEMENT.
Other(String)
A value not (yet) known to this version of the SDK.
Implementations§
Trait Implementations§
Source§impl Clone for StopOrderReason
impl Clone for StopOrderReason
Source§fn clone(&self) -> StopOrderReason
fn clone(&self) -> StopOrderReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StopOrderReason
impl Debug for StopOrderReason
Source§impl<'de> Deserialize<'de> for StopOrderReason
impl<'de> Deserialize<'de> for StopOrderReason
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
Source§impl Display for StopOrderReason
impl Display for StopOrderReason
impl Eq for StopOrderReason
Source§impl From<&str> for StopOrderReason
impl From<&str> for StopOrderReason
Source§impl From<String> for StopOrderReason
impl From<String> for StopOrderReason
Source§impl FromStr for StopOrderReason
impl FromStr for StopOrderReason
Source§impl Hash for StopOrderReason
impl Hash for StopOrderReason
Source§impl PartialEq for StopOrderReason
impl PartialEq for StopOrderReason
Source§impl Serialize for StopOrderReason
impl Serialize for StopOrderReason
impl StructuralPartialEq for StopOrderReason
Auto Trait Implementations§
impl Freeze for StopOrderReason
impl RefUnwindSafe for StopOrderReason
impl Send for StopOrderReason
impl Sync for StopOrderReason
impl Unpin for StopOrderReason
impl UnsafeUnpin for StopOrderReason
impl UnwindSafe for StopOrderReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.