#[repr(C)]pub struct OrderEmulatedFfi {
pub trader_id: TraderId,
pub strategy_id: StrategyId,
pub instrument_id: InstrumentId,
pub client_order_id: ClientOrderId,
pub event_id: UUID4,
pub ts_event: UnixNanos,
pub ts_init: UnixNanos,
}Expand description
Represents an event where an order has become emulated by the Nautilus system.
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.
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 OrderEmulatedFfi
impl Clone for OrderEmulatedFfi
Source§fn clone(&self) -> OrderEmulatedFfi
fn clone(&self) -> OrderEmulatedFfi
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 OrderEmulatedFfi
Auto Trait Implementations§
impl Freeze for OrderEmulatedFfi
impl RefUnwindSafe for OrderEmulatedFfi
impl Send for OrderEmulatedFfi
impl Sync for OrderEmulatedFfi
impl Unpin for OrderEmulatedFfi
impl UnsafeUnpin for OrderEmulatedFfi
impl UnwindSafe for OrderEmulatedFfi
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