pub struct OrderRequestLeg {
pub quantity: String,
pub symbol: String,
pub trade_action: TradeAction,
}Expand description
A sub component order apart of the overall trade the Order is for.
Fields§
§quantity: StringThe quantity of the order.
symbol: StringThe symbol used for this leg of the order.
trade_action: TradeActionThe intent of the order.
Trait Implementations§
Source§impl Clone for OrderRequestLeg
impl Clone for OrderRequestLeg
Source§fn clone(&self) -> OrderRequestLeg
fn clone(&self) -> OrderRequestLeg
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 Debug for OrderRequestLeg
impl Debug for OrderRequestLeg
Source§impl<'de> Deserialize<'de> for OrderRequestLeg
impl<'de> Deserialize<'de> for OrderRequestLeg
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 OrderRequestLeg
impl RefUnwindSafe for OrderRequestLeg
impl Send for OrderRequestLeg
impl Sync for OrderRequestLeg
impl Unpin for OrderRequestLeg
impl UnwindSafe for OrderRequestLeg
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