pub struct ExecutionLegInput {
pub action: ExecutionAction,
pub leg_type: String,
pub contract: String,
pub quantity: Option<u32>,
pub snapshot: Option<ExecutionSnapshot>,
pub timestamp: Option<String>,
pub bid: Option<f64>,
pub ask: Option<f64>,
pub price: Option<f64>,
pub spread_percent: Option<f64>,
pub greeks: Option<GreeksInput>,
pub iv: Option<f64>,
}Fields§
§action: ExecutionAction§leg_type: String§contract: String§quantity: Option<u32>§snapshot: Option<ExecutionSnapshot>§timestamp: Option<String>§bid: Option<f64>§ask: Option<f64>§price: Option<f64>§spread_percent: Option<f64>§greeks: Option<GreeksInput>§iv: Option<f64>Trait Implementations§
Source§impl Clone for ExecutionLegInput
impl Clone for ExecutionLegInput
Source§fn clone(&self) -> ExecutionLegInput
fn clone(&self) -> ExecutionLegInput
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 ExecutionLegInput
impl Debug for ExecutionLegInput
Source§impl<'de> Deserialize<'de> for ExecutionLegInput
impl<'de> Deserialize<'de> for ExecutionLegInput
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 ExecutionLegInput
impl PartialEq for ExecutionLegInput
Source§impl Serialize for ExecutionLegInput
impl Serialize for ExecutionLegInput
impl StructuralPartialEq for ExecutionLegInput
Auto Trait Implementations§
impl Freeze for ExecutionLegInput
impl RefUnwindSafe for ExecutionLegInput
impl Send for ExecutionLegInput
impl Sync for ExecutionLegInput
impl Unpin for ExecutionLegInput
impl UnsafeUnpin for ExecutionLegInput
impl UnwindSafe for ExecutionLegInput
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