#[repr(C)]pub struct OrderSubmittedFfi {
pub trader_id: TraderId,
pub strategy_id: StrategyId,
pub instrument_id: InstrumentId,
pub client_order_id: ClientOrderId,
pub account_id: AccountId,
pub event_id: UUID4,
pub ts_event: UnixNanos,
pub ts_init: UnixNanos,
}Expand description
Represents an event where an order has been submitted by the system to the trading venue.
Fields§
§trader_id: TraderIdThe trader ID associated with the event.
strategy_id: StrategyIdThe strategy ID associated with the event.
instrument_id: InstrumentIdThe instrument ID associated with the event.
client_order_id: ClientOrderIdThe client order ID associated with the event.
account_id: AccountIdThe account ID associated with the event.
event_id: UUID4The unique identifier for the event.
ts_event: UnixNanosUNIX timestamp (nanoseconds) when the event occurred.
ts_init: UnixNanosUNIX timestamp (nanoseconds) when the event was initialized.
Trait Implementations§
Source§impl Clone for OrderSubmittedFfi
impl Clone for OrderSubmittedFfi
Source§fn clone(&self) -> OrderSubmittedFfi
fn clone(&self) -> OrderSubmittedFfi
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OrderSubmittedFfi
Auto Trait Implementations§
impl Freeze for OrderSubmittedFfi
impl RefUnwindSafe for OrderSubmittedFfi
impl Send for OrderSubmittedFfi
impl Sync for OrderSubmittedFfi
impl Unpin for OrderSubmittedFfi
impl UnsafeUnpin for OrderSubmittedFfi
impl UnwindSafe for OrderSubmittedFfi
Blanket Implementations§
impl<T> Allocation for T
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