pub struct BinanceSpotExecutionReport {Show 26 fields
pub event_type: String,
pub event_time: i64,
pub symbol: Ustr,
pub client_order_id: String,
pub side: BinanceSide,
pub order_type: String,
pub time_in_force: BinanceTimeInForce,
pub original_qty: String,
pub price: String,
pub stop_price: String,
pub execution_type: BinanceSpotExecutionType,
pub order_status: BinanceOrderStatus,
pub reject_reason: String,
pub order_id: i64,
pub last_filled_qty: String,
pub cumulative_filled_qty: String,
pub last_filled_price: String,
pub commission: String,
pub commission_asset: Option<Ustr>,
pub transaction_time: i64,
pub trade_id: i64,
pub is_working: bool,
pub is_maker: bool,
pub order_creation_time: i64,
pub cumulative_quote_qty: String,
pub original_client_order_id: Option<String>,
}Expand description
Execution report event (executionReport) from the Spot user data stream.
Contains all fields needed to determine order lifecycle state and fill details.
§References
Fields§
§event_type: StringEvent type (“executionReport”).
event_time: i64Event time in milliseconds.
symbol: UstrSymbol.
client_order_id: StringClient order ID.
side: BinanceSideSide.
order_type: StringOrder type (LIMIT, MARKET, STOP_LOSS, etc.).
time_in_force: BinanceTimeInForceTime in force.
original_qty: StringOriginal quantity.
price: StringOriginal price.
stop_price: StringStop price.
execution_type: BinanceSpotExecutionTypeCurrent execution type.
order_status: BinanceOrderStatusCurrent order status.
reject_reason: StringOrder reject reason (only for Rejected).
order_id: i64Order ID.
last_filled_qty: StringLast executed quantity.
cumulative_filled_qty: StringCumulative filled quantity.
last_filled_price: StringLast executed price.
commission: StringCommission amount.
commission_asset: Option<Ustr>Commission asset.
transaction_time: i64Transaction time in milliseconds.
trade_id: i64Trade ID (-1 if not a trade).
is_working: boolIs the order on the book?
is_maker: boolIs this a maker trade?
order_creation_time: i64Order creation time in milliseconds.
cumulative_quote_qty: StringCumulative quote asset transacted quantity.
original_client_order_id: Option<String>Original client order ID (for cancel-replace).
Trait Implementations§
Source§impl Clone for BinanceSpotExecutionReport
impl Clone for BinanceSpotExecutionReport
Source§fn clone(&self) -> BinanceSpotExecutionReport
fn clone(&self) -> BinanceSpotExecutionReport
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BinanceSpotExecutionReport
impl Debug for BinanceSpotExecutionReport
Source§impl<'de> Deserialize<'de> for BinanceSpotExecutionReport
impl<'de> Deserialize<'de> for BinanceSpotExecutionReport
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>,
Auto Trait Implementations§
impl Freeze for BinanceSpotExecutionReport
impl RefUnwindSafe for BinanceSpotExecutionReport
impl Send for BinanceSpotExecutionReport
impl Sync for BinanceSpotExecutionReport
impl Unpin for BinanceSpotExecutionReport
impl UnsafeUnpin for BinanceSpotExecutionReport
impl UnwindSafe for BinanceSpotExecutionReport
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
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>
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>
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