pub struct CreateOrderResponse {
pub order_create_transaction: Option<Transaction>,
pub order_fill_transaction: Option<OrderFillTransaction>,
pub order_cancel_transaction: Option<OrderCancelTransaction>,
pub order_reissue_transaction: Option<Transaction>,
pub order_reissue_reject_transaction: Option<Transaction>,
pub related_transaction_ids: Option<Vec<TransactionID>>,
pub last_transaction_id: Option<TransactionID>,
}Expand description
Successful response for create_order.
Fields§
§order_create_transaction: Option<Transaction>The Transaction that created the Order specified by the request.
order_fill_transaction: Option<OrderFillTransaction>The Transaction that filled the newly created Order. Only provided when the Order was immediately filled.
order_cancel_transaction: Option<OrderCancelTransaction>The Transaction that cancelled the newly created Order. Only provided when the Order was immediately cancelled.
order_reissue_transaction: Option<Transaction>The Transaction that reissues the Order. Only provided when the Order is configured to be reissued for its remaining units after a partial fill and the reissue was successful.
order_reissue_reject_transaction: Option<Transaction>The Transaction that rejects the reissue of the Order. Only provided when the Order is configured to be reissued for its remaining units after a partial fill and the reissue was rejected.
The IDs of all Transactions that were created while satisfying the request.
last_transaction_id: Option<TransactionID>The ID of the most recent Transaction created for the Account