pub struct CloseTradeRejection {
pub order_reject_transaction: Option<MarketOrderRejectTransaction>,
pub error_code: Option<String>,
pub error_message: Option<String>,
pub last_transaction_id: Option<TransactionID>,
pub related_transaction_ids: Option<Vec<TransactionID>>,
}Expand description
Documented rejection fields for close_trade.
Fields§
§order_reject_transaction: Option<MarketOrderRejectTransaction>The MarketOrderReject Transaction that rejects the creation of the Trade- closing MarketOrder.
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.
last_transaction_id: Option<TransactionID>The ID of the most recent Transaction created for the Account. Only present if the Account exists.
The IDs of all Transactions that were created while satisfying the request. Only present if the Account exists.
Trait Implementations§
Source§impl Clone for CloseTradeRejection
impl Clone for CloseTradeRejection
Source§impl Debug for CloseTradeRejection
impl Debug for CloseTradeRejection
Source§impl Default for CloseTradeRejection
impl Default for CloseTradeRejection
Source§impl<'de> Deserialize<'de> for CloseTradeRejection
impl<'de> Deserialize<'de> for CloseTradeRejection
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 CloseTradeRejection
impl PartialEq for CloseTradeRejection
Source§impl Serialize for CloseTradeRejection
impl Serialize for CloseTradeRejection
impl StructuralPartialEq for CloseTradeRejection
Auto Trait Implementations§
impl Freeze for CloseTradeRejection
impl RefUnwindSafe for CloseTradeRejection
impl Send for CloseTradeRejection
impl Sync for CloseTradeRejection
impl Unpin for CloseTradeRejection
impl UnsafeUnpin for CloseTradeRejection
impl UnwindSafe for CloseTradeRejection
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