Skip to main content

OffsetSettingField

Struct OffsetSettingField 

Source
#[repr(C)]
pub struct OffsetSettingField {
Show 35 fields pub is_null: bool, pub BrokerID: String, pub InvestorID: String, pub InstrumentID: String, pub UnderlyingInstrID: String, pub ProductID: String, pub OffsetType: u8, pub Volume: i32, pub IsOffset: i32, pub RequestID: i32, pub UserID: String, pub ExchangeID: String, pub IPAddress: String, pub MacAddress: String, pub ExchangeInstID: String, pub ExchangeSerialNo: Vec<u8>, pub ExchangeProductID: String, pub ParticipantID: String, pub ClientID: String, pub TraderID: String, pub InstallID: i32, pub OrderSubmitStatus: u8, pub TradingDay: String, pub SettlementID: i32, pub InsertDate: String, pub InsertTime: String, pub CancelTime: String, pub ExecResult: u8, pub SequenceNo: i32, pub FrontID: i32, pub SessionID: i32, pub StatusMsg: String, pub ActiveUserID: String, pub BrokerOffsetSettingSeq: i32, pub ApplySrc: u8,
}
Expand description

对冲设置

Fields§

§is_null: bool

C++ 端传入的整体 Field 是否为 nullptr

§BrokerID: String

经纪公司代码

§InvestorID: String

投资者代码

§InstrumentID: String

合约代码

§UnderlyingInstrID: String

标的期货合约代码

§ProductID: String

产品代码

§OffsetType: u8

对冲类型

§Volume: i32

申请对冲的合约数量

§IsOffset: i32

是否对冲

§RequestID: i32

请求编号

§UserID: String

用户代码

§ExchangeID: String

交易所代码

§IPAddress: String

IP地址

§MacAddress: String

Mac地址

§ExchangeInstID: String

交易所合约代码

§ExchangeSerialNo: Vec<u8>

交易所期权系列号

§ExchangeProductID: String

交易所产品代码

§ParticipantID: String

会员代码

§ClientID: String

客户代码

§TraderID: String

交易所交易员代码

§InstallID: i32

安装编号

§OrderSubmitStatus: u8

对冲提交状态

§TradingDay: String

交易日

§SettlementID: i32

结算编号

§InsertDate: String

报单日期

§InsertTime: String

插入时间

§CancelTime: String

撤销时间

§ExecResult: u8

对冲设置结果

§SequenceNo: i32

序号

§FrontID: i32

前置编号

§SessionID: i32

会话编号

§StatusMsg: String

状态信息

§ActiveUserID: String

操作用户代码

§BrokerOffsetSettingSeq: i32

经纪公司报单编号

§ApplySrc: u8

申请来源

Trait Implementations§

Source§

impl Clone for OffsetSettingField

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for OffsetSettingField

Source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for OffsetSettingField

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl ExternType for OffsetSettingField

Source§

type Kind = Trivial

Source§

type Id

A type-level representation of the type’s C++ namespace and type name. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.