Enum binance::rest_model::OrderStatus
source · pub enum OrderStatus {
New,
PartiallyFilled,
Filled,
Canceled,
PendingCancel,
Rejected,
Expired,
Trade,
}
Expand description
Status of an order, this can typically change over time
Variants§
New
The order has been accepted by the engine.
PartiallyFilled
A part of the order has been filled.
Filled
The order has been completely filled.
Canceled
The order has been canceled by the user.
PendingCancel
(currently unused)
Rejected
The order was not accepted by the engine and not processed.
Expired
The order was canceled according to the order type’s rules (e.g. LIMIT FOK orders with no fill, LIMIT IOC or MARKET orders that partially fill) or by the exchange, (e.g. orders canceled during liquidation, orders canceled during maintenance)
Trade
Part of the order or all of the order’s quantity has filled.
Trait Implementations§
source§impl Clone for OrderStatus
impl Clone for OrderStatus
source§fn clone(&self) -> OrderStatus
fn clone(&self) -> OrderStatus
Returns a copy of the value. Read more
1.0.0 · 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 OrderStatus
impl Debug for OrderStatus
source§impl<'de> Deserialize<'de> for OrderStatus
impl<'de> Deserialize<'de> for OrderStatus
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 PartialEq for OrderStatus
impl PartialEq for OrderStatus
source§fn eq(&self, other: &OrderStatus) -> bool
fn eq(&self, other: &OrderStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OrderStatus
impl Serialize for OrderStatus
impl Eq for OrderStatus
impl StructuralEq for OrderStatus
impl StructuralPartialEq for OrderStatus
Auto Trait Implementations§
impl RefUnwindSafe for OrderStatus
impl Send for OrderStatus
impl Sync for OrderStatus
impl Unpin for OrderStatus
impl UnwindSafe for OrderStatus
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
§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
Compare self to
key
and return true
if they are equal.