#[non_exhaustive]pub struct CreateOrderRejectBody {
pub order_reject_transaction: Option<Transaction>,
pub related_transaction_ids: Vec<TransactionId>,
pub last_transaction_id: Option<TransactionId>,
}Expand description
Typed view of the error body when Client::create_order or
Client::replace_order is rejected (HTTP 400/404). Recover it via
ApiErrorBody::details.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.order_reject_transaction: Option<Transaction>The transaction that rejected the creation of the order.
The IDs of all transactions created while satisfying the request.
last_transaction_id: Option<TransactionId>The ID of the most recent transaction created for the account.
Trait Implementations§
Source§impl Clone for CreateOrderRejectBody
impl Clone for CreateOrderRejectBody
Source§fn clone(&self) -> CreateOrderRejectBody
fn clone(&self) -> CreateOrderRejectBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateOrderRejectBody
impl Debug for CreateOrderRejectBody
Source§impl<'de> Deserialize<'de> for CreateOrderRejectBody
impl<'de> Deserialize<'de> for CreateOrderRejectBody
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
Auto Trait Implementations§
impl Freeze for CreateOrderRejectBody
impl RefUnwindSafe for CreateOrderRejectBody
impl Send for CreateOrderRejectBody
impl Sync for CreateOrderRejectBody
impl Unpin for CreateOrderRejectBody
impl UnsafeUnpin for CreateOrderRejectBody
impl UnwindSafe for CreateOrderRejectBody
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