pub struct OrderCreateResponse {
pub success: bool,
pub success_response: Option<SuccessResponse>,
pub error_response: Option<ErrorResponse>,
}Expand description
Represents a create, edit, or cancel order response from the API.
Fields§
§success: boolWhether the order was successfully created.
success_response: Option<SuccessResponse>Contains information if the order was successful.
error_response: Option<ErrorResponse>Contains error information if the order failed.
Trait Implementations§
Source§impl Debug for OrderCreateResponse
impl Debug for OrderCreateResponse
Source§impl<'de> Deserialize<'de> for OrderCreateResponse
impl<'de> Deserialize<'de> for OrderCreateResponse
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 OrderCreateResponse
impl RefUnwindSafe for OrderCreateResponse
impl Send for OrderCreateResponse
impl Sync for OrderCreateResponse
impl Unpin for OrderCreateResponse
impl UnwindSafe for OrderCreateResponse
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