pub struct OrderExecution {
pub status: OrderStatus,
pub rate: Option<u64>,
pub stop: Option<u64>,
pub amount: Option<u64>,
pub executed: Option<u64>,
pub fills: Option<Vec<OrderFill>>,
}
Expand description
Market order execution report.
Response of order creation.
Fields§
§status: OrderStatus
Order status.
rate: Option<u64>
Order rate.
stop: Option<u64>
Order stop rate.
amount: Option<u64>
Cumulative order quantity.
executed: Option<u64>
Cumulative executed quantity.
fills: Option<Vec<OrderFill>>
Order fills.
Trait Implementations§
Source§impl Clone for OrderExecution
impl Clone for OrderExecution
Source§fn clone(&self) -> OrderExecution
fn clone(&self) -> OrderExecution
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 OrderExecution
impl Debug for OrderExecution
Source§impl Default for OrderExecution
impl Default for OrderExecution
Source§fn default() -> OrderExecution
fn default() -> OrderExecution
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrderExecution
impl<'de> Deserialize<'de> for OrderExecution
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 OrderExecution
impl RefUnwindSafe for OrderExecution
impl Send for OrderExecution
impl Sync for OrderExecution
impl Unpin for OrderExecution
impl UnwindSafe for OrderExecution
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