pub struct ReplaceOrderRejection {
pub order_reject_transaction: Option<Transaction>,
pub related_transaction_ids: Option<Vec<TransactionID>>,
pub last_transaction_id: Option<TransactionID>,
pub error_code: Option<String>,
pub error_message: Option<String>,
pub order_cancel_reject_transaction: Option<Transaction>,
}Expand description
Documented rejection fields for replace_order.
Fields§
§order_reject_transaction: Option<Transaction>The Transaction that rejected the creation of the replacing Order
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.
error_code: Option<String>The code of the error that has occurred. This field may not be returned for some errors.
error_message: Option<String>The human-readable description of the error that has occurred.
order_cancel_reject_transaction: Option<Transaction>The Transaction that rejected the cancellation of the Order to be replaced. Only present if the Account exists.
Trait Implementations§
Source§impl Clone for ReplaceOrderRejection
impl Clone for ReplaceOrderRejection
Source§impl Debug for ReplaceOrderRejection
impl Debug for ReplaceOrderRejection
Source§impl Default for ReplaceOrderRejection
impl Default for ReplaceOrderRejection
Source§impl<'de> Deserialize<'de> for ReplaceOrderRejection
impl<'de> Deserialize<'de> for ReplaceOrderRejection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ReplaceOrderRejection
impl PartialEq for ReplaceOrderRejection
Source§impl Serialize for ReplaceOrderRejection
impl Serialize for ReplaceOrderRejection
impl StructuralPartialEq for ReplaceOrderRejection
Auto Trait Implementations§
impl Freeze for ReplaceOrderRejection
impl RefUnwindSafe for ReplaceOrderRejection
impl Send for ReplaceOrderRejection
impl Sync for ReplaceOrderRejection
impl Unpin for ReplaceOrderRejection
impl UnsafeUnpin for ReplaceOrderRejection
impl UnwindSafe for ReplaceOrderRejection
Blanket Implementations§
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