#[repr(C)]pub struct OrderRejectedFfi {
pub trader_id: TraderId,
pub strategy_id: StrategyId,
pub instrument_id: InstrumentId,
pub client_order_id: ClientOrderId,
pub account_id: AccountId,
pub reason: Ustr,
pub event_id: UUID4,
pub ts_event: UnixNanos,
pub ts_init: UnixNanos,
pub reconciliation: u8,
pub due_post_only: u8,
}Expand description
Represents an event where an order has been rejected by 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.
reason: UstrThe reason the order was rejected.
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.
reconciliation: u8If the event was generated during reconciliation.
due_post_only: u8If the order was rejected because it was post-only and would execute immediately as a taker.
Trait Implementations§
Source§impl Clone for OrderRejectedFfi
impl Clone for OrderRejectedFfi
Source§fn clone(&self) -> OrderRejectedFfi
fn clone(&self) -> OrderRejectedFfi
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 OrderRejectedFfi
Auto Trait Implementations§
impl Freeze for OrderRejectedFfi
impl RefUnwindSafe for OrderRejectedFfi
impl Send for OrderRejectedFfi
impl Sync for OrderRejectedFfi
impl Unpin for OrderRejectedFfi
impl UnsafeUnpin for OrderRejectedFfi
impl UnwindSafe for OrderRejectedFfi
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