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
sourceimpl Clone for OrderStatus
impl Clone for OrderStatus
sourcefn clone(&self) -> OrderStatus
fn clone(&self) -> OrderStatus
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for OrderStatus
impl Debug for OrderStatus
sourceimpl<'de> Deserialize<'de> for OrderStatus
impl<'de> Deserialize<'de> for OrderStatus
sourcefn 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
sourceimpl PartialEq<OrderStatus> for OrderStatus
impl PartialEq<OrderStatus> for OrderStatus
sourcefn eq(&self, other: &OrderStatus) -> bool
fn eq(&self, other: &OrderStatus) -> bool
sourceimpl Serialize for OrderStatus
impl Serialize 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more