pub struct ComboPositionResponseComboPositionResponseLeg {
pub conid: Option<String>,
pub ratio: Option<i32>,
}Fields§
§conid: Option<String>Contract identifier of the given leg.
ratio: Option<i32>Ratio of the leg compared to the quantity.
Trait Implementations§
Source§impl Clone for ComboPositionResponseComboPositionResponseLeg
impl Clone for ComboPositionResponseComboPositionResponseLeg
Source§fn clone(&self) -> ComboPositionResponseComboPositionResponseLeg
fn clone(&self) -> ComboPositionResponseComboPositionResponseLeg
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 ComboPositionResponseComboPositionResponseLeg
impl<'de> Deserialize<'de> for ComboPositionResponseComboPositionResponseLeg
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 ComboPositionResponseComboPositionResponseLeg
impl PartialEq for ComboPositionResponseComboPositionResponseLeg
Source§fn eq(&self, other: &ComboPositionResponseComboPositionResponseLeg) -> bool
fn eq(&self, other: &ComboPositionResponseComboPositionResponseLeg) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ComboPositionResponseComboPositionResponseLeg
Auto Trait Implementations§
impl Freeze for ComboPositionResponseComboPositionResponseLeg
impl RefUnwindSafe for ComboPositionResponseComboPositionResponseLeg
impl Send for ComboPositionResponseComboPositionResponseLeg
impl Sync for ComboPositionResponseComboPositionResponseLeg
impl Unpin for ComboPositionResponseComboPositionResponseLeg
impl UnsafeUnpin for ComboPositionResponseComboPositionResponseLeg
impl UnwindSafe for ComboPositionResponseComboPositionResponseLeg
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