pub enum BinanceOrderStatus {
New,
PartiallyFilled,
Filled,
Canceled,
PendingCancel,
Rejected,
Expired,
}Expand description
Order status values
Variants§
New
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
PendingCancel
The order is pending cancel
Rejected
The order was rejected
Expired
The order was expired
Implementations§
Source§impl BinanceOrderStatus
impl BinanceOrderStatus
Sourcepub const fn as_str(&self) -> &'static str
pub const fn as_str(&self) -> &'static str
Returns the string representation of the order status
Sourcepub fn to_smartstring(&self) -> String
pub fn to_smartstring(&self) -> String
Converts order status to smartstring format
Trait Implementations§
Source§impl Clone for BinanceOrderStatus
impl Clone for BinanceOrderStatus
Source§fn clone(&self) -> BinanceOrderStatus
fn clone(&self) -> BinanceOrderStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinanceOrderStatus
impl Debug for BinanceOrderStatus
Source§impl PartialEq for BinanceOrderStatus
impl PartialEq for BinanceOrderStatus
impl Copy for BinanceOrderStatus
impl Eq for BinanceOrderStatus
impl StructuralPartialEq for BinanceOrderStatus
Auto Trait Implementations§
impl Freeze for BinanceOrderStatus
impl RefUnwindSafe for BinanceOrderStatus
impl Send for BinanceOrderStatus
impl Sync for BinanceOrderStatus
impl Unpin for BinanceOrderStatus
impl UnwindSafe for BinanceOrderStatus
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<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