pub struct BinanceNewOrderResponse {Show 19 fields
pub price_exponent: i8,
pub qty_exponent: i8,
pub order_id: i64,
pub order_list_id: Option<i64>,
pub transact_time: i64,
pub price_mantissa: i64,
pub orig_qty_mantissa: i64,
pub executed_qty_mantissa: i64,
pub cummulative_quote_qty_mantissa: i64,
pub status: OrderStatus,
pub time_in_force: TimeInForce,
pub order_type: OrderType,
pub side: OrderSide,
pub stop_price_mantissa: Option<i64>,
pub working_time: Option<i64>,
pub self_trade_prevention_mode: SelfTradePreventionMode,
pub client_order_id: String,
pub symbol: String,
pub fills: Vec<BinanceOrderFill>,
}Expand description
New order response (FULL response type).
Fields§
§price_exponent: i8Price exponent for this response.
qty_exponent: i8Quantity exponent for this response.
order_id: i64Exchange order ID.
order_list_id: Option<i64>Order list ID (for OCO orders).
transact_time: i64Transaction time in microseconds.
price_mantissa: i64Order price mantissa.
orig_qty_mantissa: i64Original order quantity mantissa.
executed_qty_mantissa: i64Executed quantity mantissa.
cummulative_quote_qty_mantissa: i64Cumulative quote quantity mantissa.
status: OrderStatusOrder status.
time_in_force: TimeInForceTime in force.
order_type: OrderTypeOrder type.
side: OrderSideOrder side.
stop_price_mantissa: Option<i64>Stop price mantissa (for stop orders).
working_time: Option<i64>Working time in microseconds.
self_trade_prevention_mode: SelfTradePreventionModeSelf-trade prevention mode.
client_order_id: StringClient order ID.
symbol: StringSymbol.
fills: Vec<BinanceOrderFill>Order fills.
Trait Implementations§
Source§impl Clone for BinanceNewOrderResponse
impl Clone for BinanceNewOrderResponse
Source§fn clone(&self) -> BinanceNewOrderResponse
fn clone(&self) -> BinanceNewOrderResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinanceNewOrderResponse
impl Debug for BinanceNewOrderResponse
Source§impl PartialEq for BinanceNewOrderResponse
impl PartialEq for BinanceNewOrderResponse
impl StructuralPartialEq for BinanceNewOrderResponse
Auto Trait Implementations§
impl Freeze for BinanceNewOrderResponse
impl RefUnwindSafe for BinanceNewOrderResponse
impl Send for BinanceNewOrderResponse
impl Sync for BinanceNewOrderResponse
impl Unpin for BinanceNewOrderResponse
impl UnwindSafe for BinanceNewOrderResponse
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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