pub struct OrderGetResponse {Show 16 fields
pub symbol: 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,
pub stop_price: Decimal,
pub iceberg_qty: Decimal,
pub time: i64,
pub update_time: i64,
pub is_working: bool,
}Expand description
The https://www.binance.com/api/v3/order GET response.
Fields§
§symbol: StringThe symbol name.
order_id: i64The server-side order ID.
client_order_id: StringThe client-side order ID.
price: DecimalThe order price.
orig_qty: DecimalThe initial order quantity.
executed_qty: DecimalThe order quantity executed so far.
cummulative_quote_qty: DecimalUsually the same as executed_qty.
status: OrderStatusThe order status.
time_in_force: OrderTimeInForceThe order time-in-force.
type: OrderTypeThe order type.
side: OrderSideThe order side.
stop_price: DecimalUsed with STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, and TAKE_PROFIT_LIMIT orders.
iceberg_qty: DecimalThe iceberg order quantity.
time: i64The order time in milliseconds.
update_time: i64Usually the same as time.
is_working: boolUnknown value.
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