pub struct ExecutionReport {
pub id: SmartString,
pub order_id: SmartString,
pub exchange_timestamp: u64,
pub system_timestamp: u64,
pub instrument_id: InstrumentId,
pub status: OrderStatus,
pub filled_quantity: Decimal,
pub remaining_quantity: Decimal,
pub execution_price: Option<Decimal>,
pub reject_reason: Option<SmartString>,
pub exchange_execution_id: Option<SmartString>,
pub is_final: bool,
}Expand description
Execution report from the exchange
Fields§
§id: SmartStringUnique identifier for this execution report
order_id: SmartStringOrder ID this report is for
exchange_timestamp: u64Exchange timestamp (in nanoseconds)
system_timestamp: u64System timestamp (in nanoseconds)
instrument_id: InstrumentIdInstrument ID
status: OrderStatusNew status of the order
filled_quantity: DecimalFilled quantity in this execution (0 for non-fills)
remaining_quantity: DecimalRemaining quantity to be filled
execution_price: Option<Decimal>Price of this execution (for fills)
reject_reason: Option<SmartString>Reason for rejection (if applicable)
exchange_execution_id: Option<SmartString>Exchange-specific execution ID
is_final: boolWhether this is the final report for the order
Trait Implementations§
Source§impl Clone for ExecutionReport
impl Clone for ExecutionReport
Source§fn clone(&self) -> ExecutionReport
fn clone(&self) -> ExecutionReport
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExecutionReport
impl RefUnwindSafe for ExecutionReport
impl Send for ExecutionReport
impl Sync for ExecutionReport
impl Unpin for ExecutionReport
impl UnwindSafe for ExecutionReport
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