#[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