pub struct CreateOrderResponse {
pub error_code: Option<String>,
pub error_message: Option<String>,
pub last_transaction_id: Option<String>,
pub related_transaction_ids: Option<Vec<i32>>,
pub order_create_transaction: Option<Box<Transaction>>,
pub order_fill_transaction: Option<Box<OrderFillTransaction>>,
pub order_cancel_transaction: Option<Box<OrderCancelTransaction>>,
pub order_reissue_transaction: Option<Box<Transaction>>,
pub order_reissue_reject_transaction: Option<Box<Transaction>>,
}Fields§
§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<String>The ID of the most recent Transaction created for the Account
The IDs of all Transactions that were created while satisfying the request.
order_create_transaction: Option<Box<Transaction>>§order_fill_transaction: Option<Box<OrderFillTransaction>>§order_cancel_transaction: Option<Box<OrderCancelTransaction>>§order_reissue_transaction: Option<Box<Transaction>>§order_reissue_reject_transaction: Option<Box<Transaction>>Implementations§
Source§impl CreateOrderResponse
impl CreateOrderResponse
pub fn new() -> CreateOrderResponse
Trait Implementations§
Source§impl Clone for CreateOrderResponse
impl Clone for CreateOrderResponse
Source§fn clone(&self) -> CreateOrderResponse
fn clone(&self) -> CreateOrderResponse
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 CreateOrderResponse
impl Debug for CreateOrderResponse
Source§impl Default for CreateOrderResponse
impl Default for CreateOrderResponse
Source§fn default() -> CreateOrderResponse
fn default() -> CreateOrderResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateOrderResponse
impl<'de> Deserialize<'de> for CreateOrderResponse
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 CreateOrderResponse
impl PartialEq for CreateOrderResponse
Source§impl Serialize for CreateOrderResponse
impl Serialize for CreateOrderResponse
impl StructuralPartialEq for CreateOrderResponse
Auto Trait Implementations§
impl Freeze for CreateOrderResponse
impl RefUnwindSafe for CreateOrderResponse
impl Send for CreateOrderResponse
impl Sync for CreateOrderResponse
impl Unpin for CreateOrderResponse
impl UnsafeUnpin for CreateOrderResponse
impl UnwindSafe for CreateOrderResponse
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