pub struct CreateOrderRejection {
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>,
}Expand description
Documented rejection fields for create_order.
Fields§
§order_reject_transaction: Option<Transaction>The Transaction that rejected the creation of the Order as requested
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.
Trait Implementations§
Source§impl Clone for CreateOrderRejection
impl Clone for CreateOrderRejection
Source§impl Debug for CreateOrderRejection
impl Debug for CreateOrderRejection
Source§impl Default for CreateOrderRejection
impl Default for CreateOrderRejection
Source§impl<'de> Deserialize<'de> for CreateOrderRejection
impl<'de> Deserialize<'de> for CreateOrderRejection
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 CreateOrderRejection
impl PartialEq for CreateOrderRejection
Source§impl Serialize for CreateOrderRejection
impl Serialize for CreateOrderRejection
impl StructuralPartialEq for CreateOrderRejection
Auto Trait Implementations§
impl Freeze for CreateOrderRejection
impl RefUnwindSafe for CreateOrderRejection
impl Send for CreateOrderRejection
impl Sync for CreateOrderRejection
impl Unpin for CreateOrderRejection
impl UnsafeUnpin for CreateOrderRejection
impl UnwindSafe for CreateOrderRejection
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