pub enum OKXAlgoOrderStatus {
Live,
Pause,
Effective,
OrderPlaced,
PartiallyEffective,
Canceled,
Filled,
OrderFailed,
PartiallyFailed,
}Expand description
Represents the state of an algo (trigger/OCO/conditional) order on OKX.
Variants§
Trait Implementations§
Source§impl AsRef<str> for OKXAlgoOrderStatus
impl AsRef<str> for OKXAlgoOrderStatus
Source§impl Clone for OKXAlgoOrderStatus
impl Clone for OKXAlgoOrderStatus
Source§fn clone(&self) -> OKXAlgoOrderStatus
fn clone(&self) -> OKXAlgoOrderStatus
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 moreimpl Copy for OKXAlgoOrderStatus
Source§impl Debug for OKXAlgoOrderStatus
impl Debug for OKXAlgoOrderStatus
Source§impl<'de> Deserialize<'de> for OKXAlgoOrderStatus
impl<'de> Deserialize<'de> for OKXAlgoOrderStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for OKXAlgoOrderStatus
impl Display for OKXAlgoOrderStatus
impl Eq for OKXAlgoOrderStatus
Source§impl From<OKXAlgoOrderStatus> for OrderStatus
impl From<OKXAlgoOrderStatus> for OrderStatus
Source§fn from(status: OKXAlgoOrderStatus) -> Self
fn from(status: OKXAlgoOrderStatus) -> Self
Converts to this type from the input type.
Source§impl FromStr for OKXAlgoOrderStatus
impl FromStr for OKXAlgoOrderStatus
Source§impl Hash for OKXAlgoOrderStatus
impl Hash for OKXAlgoOrderStatus
Source§impl IntoEnumIterator for OKXAlgoOrderStatus
impl IntoEnumIterator for OKXAlgoOrderStatus
type Iterator = OKXAlgoOrderStatusIter
fn iter() -> OKXAlgoOrderStatusIter ⓘ
Source§impl PartialEq for OKXAlgoOrderStatus
impl PartialEq for OKXAlgoOrderStatus
Source§fn eq(&self, other: &OKXAlgoOrderStatus) -> bool
fn eq(&self, other: &OKXAlgoOrderStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OKXAlgoOrderStatus
impl Serialize for OKXAlgoOrderStatus
impl StructuralPartialEq for OKXAlgoOrderStatus
Auto Trait Implementations§
impl Freeze for OKXAlgoOrderStatus
impl RefUnwindSafe for OKXAlgoOrderStatus
impl Send for OKXAlgoOrderStatus
impl Sync for OKXAlgoOrderStatus
impl Unpin for OKXAlgoOrderStatus
impl UnsafeUnpin for OKXAlgoOrderStatus
impl UnwindSafe for OKXAlgoOrderStatus
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more