pub struct AddOrderResponse {
pub event: String,
pub req_id: Option<i64>,
pub status: OrderRequestStatus,
pub tx_id: Option<String>,
pub descr: Option<String>,
pub error_message: Option<String>,
}
Expand description
Response type for adding an order
Fields§
§event: String
§req_id: Option<i64>
§status: OrderRequestStatus
§tx_id: Option<String>
§descr: Option<String>
§error_message: Option<String>
Trait Implementations§
Source§impl Clone for AddOrderResponse
impl Clone for AddOrderResponse
Source§fn clone(&self) -> AddOrderResponse
fn clone(&self) -> AddOrderResponse
Returns a copy of the value. Read more
1.0.0 · 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 AddOrderResponse
impl Debug for AddOrderResponse
Source§impl<'de> Deserialize<'de> for AddOrderResponse
impl<'de> Deserialize<'de> for AddOrderResponse
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 AddOrderResponse
impl PartialEq for AddOrderResponse
impl StructuralPartialEq for AddOrderResponse
Auto Trait Implementations§
impl Freeze for AddOrderResponse
impl RefUnwindSafe for AddOrderResponse
impl Send for AddOrderResponse
impl Sync for AddOrderResponse
impl Unpin for AddOrderResponse
impl UnwindSafe for AddOrderResponse
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