pub struct OrderDeleteResponse {
pub symbol: String,
pub orig_client_order_id: String,
pub order_id: i64,
pub client_order_id: String,
pub price: Decimal,
pub orig_qty: Decimal,
pub executed_qty: Decimal,
pub cummulative_quote_qty: Decimal,
pub status: OrderStatus,
pub time_in_force: OrderTimeInForce,
pub type: OrderType,
pub side: OrderSide,
}
Expand description
The https://www.binance.com/api/v3/order
POST response.
Fields§
§symbol: String
The symbol name.
orig_client_order_id: String
Either orderId
or origClientOrderId
must be sent.
order_id: i64
The cancelled order ID.
client_order_id: String
The client-side order ID.
price: Decimal
The order price.
orig_qty: Decimal
The initial order quantity.
executed_qty: Decimal
The order quantity executed before cancellation.
cummulative_quote_qty: Decimal
Usually the same as executed_qty
.
status: OrderStatus
The order status, which must be CANCELED
.
time_in_force: OrderTimeInForce
The order time-in-force.
type: OrderType
The order type.
side: OrderSide
The order side.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Response
impl<'de> Deserialize<'de> for Response
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
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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,
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