#[repr(C)]pub struct CThostFtdcCombinationLegField {
pub CombInstrumentID: TThostFtdcInstrumentIDType,
pub LegID: TThostFtdcLegIDType,
pub LegInstrumentID: TThostFtdcInstrumentIDType,
pub Direction: TThostFtdcDirectionType,
pub LegMultiple: TThostFtdcLegMultipleType,
pub ImplyLevel: TThostFtdcImplyLevelType,
}Expand description
组合交易合约的单腿
Fields§
§CombInstrumentID: TThostFtdcInstrumentIDType组合合约代码
LegID: TThostFtdcLegIDType单腿编号
LegInstrumentID: TThostFtdcInstrumentIDType单腿合约代码
Direction: TThostFtdcDirectionType买卖方向
LegMultiple: TThostFtdcLegMultipleType单腿乘数
ImplyLevel: TThostFtdcImplyLevelType派生层数
Trait Implementations§
Source§impl Default for CThostFtdcCombinationLegField
impl Default for CThostFtdcCombinationLegField
Source§fn default() -> CThostFtdcCombinationLegField
fn default() -> CThostFtdcCombinationLegField
Returns the “default value” for a type. Read more
impl Copy for CThostFtdcCombinationLegField
Auto Trait Implementations§
impl Freeze for CThostFtdcCombinationLegField
impl RefUnwindSafe for CThostFtdcCombinationLegField
impl Send for CThostFtdcCombinationLegField
impl Sync for CThostFtdcCombinationLegField
impl Unpin for CThostFtdcCombinationLegField
impl UnwindSafe for CThostFtdcCombinationLegField
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