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: String
The symbol name.
order_id: i64
The server-side 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 so far.
cummulative_quote_qty: Decimal
Usually the same as executed_qty
.
status: OrderStatus
The order status.
time_in_force: OrderTimeInForce
The order time-in-force.
type: OrderType
The order type.
side: OrderSide
The order side.
stop_price: Decimal
Used with STOP_LOSS
, STOP_LOSS_LIMIT
, TAKE_PROFIT
, and TAKE_PROFIT_LIMIT
orders.
iceberg_qty: Decimal
The iceberg order quantity.
time: i64
The order time in milliseconds.
update_time: i64
Usually the same as time
.
is_working: bool
Unknown 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