pub struct TradeHistoryLeg {
pub category: Option<String>,
pub order_id: Option<String>,
pub symbol: Option<String>,
pub side: Option<String>,
pub price: Option<String>,
pub qty: Option<String>,
pub mark_price: Option<String>,
pub exec_fee: Option<String>,
pub exec_id: Option<String>,
pub result_code: Option<i32>,
pub result_message: Option<String>,
pub reject_party: Option<String>,
}Expand description
Trade history leg.
Fields§
§category: Option<String>§order_id: Option<String>§symbol: Option<String>§side: Option<String>§price: Option<String>§qty: Option<String>§mark_price: Option<String>§exec_fee: Option<String>§exec_id: Option<String>§result_code: Option<i32>§result_message: Option<String>§reject_party: Option<String>Trait Implementations§
Source§impl Clone for TradeHistoryLeg
impl Clone for TradeHistoryLeg
Source§fn clone(&self) -> TradeHistoryLeg
fn clone(&self) -> TradeHistoryLeg
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 TradeHistoryLeg
impl Debug for TradeHistoryLeg
Source§impl<'de> Deserialize<'de> for TradeHistoryLeg
impl<'de> Deserialize<'de> for TradeHistoryLeg
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 TradeHistoryLeg
impl RefUnwindSafe for TradeHistoryLeg
impl Send for TradeHistoryLeg
impl Sync for TradeHistoryLeg
impl Unpin for TradeHistoryLeg
impl UnsafeUnpin for TradeHistoryLeg
impl UnwindSafe for TradeHistoryLeg
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