#[non_exhaustive]pub struct DelayedTradeClosureTransaction {
pub id: Option<TransactionId>,
pub time: Option<DateTime>,
pub user_id: Option<i64>,
pub account_id: Option<AccountId>,
pub batch_id: Option<TransactionId>,
pub request_id: Option<RequestId>,
pub reason: Option<MarketOrderReason>,
pub trade_ids: Option<TradeId>,
}Expand description
A DelayedTradeClosure Transaction is created administratively to indicate open trades that should have been closed but weren’t because the open trades’ instruments were untradeable at the time. Open trades listed in this transaction will be closed once their respective instruments become tradeable.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: Option<TransactionId>The Transaction’s Identifier.
time: Option<DateTime>The date/time when the Transaction was created.
user_id: Option<i64>The ID of the user that initiated the creation of the Transaction.
account_id: Option<AccountId>The ID of the Account the Transaction was created for.
batch_id: Option<TransactionId>The ID of the “batch” that the Transaction belongs to. Transactions in the same batch are applied to the Account simultaneously.
request_id: Option<RequestId>The Request ID of the request which generated the transaction.
reason: Option<MarketOrderReason>The reason field.
trade_ids: Option<TradeId>List of Trade ID’s identifying the open trades that will be closed when their respective instruments become tradeable
Trait Implementations§
Source§impl Clone for DelayedTradeClosureTransaction
impl Clone for DelayedTradeClosureTransaction
Source§fn clone(&self) -> DelayedTradeClosureTransaction
fn clone(&self) -> DelayedTradeClosureTransaction
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more