pub struct OrderResponse {
pub status: OrderResponseStatus,
pub client_order_id: OrderID,
}Expand description
Represents an order response.
Fields§
§status: OrderResponseStatus§client_order_id: OrderIDSame as OrderRequest::client_order_id.
Implementations§
Source§impl OrderResponse
impl OrderResponse
Sourcepub fn notional_value(&self) -> Quantity
pub fn notional_value(&self) -> Quantity
Get notional value of this execution.
Trait Implementations§
Source§impl Clone for OrderResponse
impl Clone for OrderResponse
Source§fn clone(&self) -> OrderResponse
fn clone(&self) -> OrderResponse
Returns a duplicate 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<'de> Deserialize<'de> for OrderResponse
impl<'de> Deserialize<'de> for OrderResponse
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 OrderResponse
impl RefUnwindSafe for OrderResponse
impl Send for OrderResponse
impl Sync for OrderResponse
impl Unpin for OrderResponse
impl UnwindSafe for OrderResponse
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