Skip to main content

ErrorConditionalOrderField

Struct ErrorConditionalOrderField 

Source
#[repr(C)]
pub struct ErrorConditionalOrderField {
Show 66 fields pub is_null: bool, pub BrokerID: String, pub InvestorID: String, pub OrderRef: String, pub UserID: String, pub OrderPriceType: u8, pub Direction: u8, pub CombOffsetFlag: String, pub CombHedgeFlag: String, pub LimitPrice: f64, pub VolumeTotalOriginal: i32, pub TimeCondition: u8, pub GTDDate: String, pub VolumeCondition: u8, pub MinVolume: i32, pub ContingentCondition: u8, pub StopPrice: f64, pub ForceCloseReason: u8, pub IsAutoSuspend: i32, pub BusinessUnit: String, pub RequestID: i32, pub OrderLocalID: String, pub ExchangeID: String, pub ParticipantID: String, pub ClientID: String, pub TraderID: String, pub InstallID: i32, pub OrderSubmitStatus: u8, pub NotifySequence: i32, pub TradingDay: String, pub SettlementID: i32, pub OrderSysID: String, pub OrderSource: u8, pub OrderStatus: u8, pub OrderType: u8, pub VolumeTraded: i32, pub VolumeTotal: i32, pub InsertDate: String, pub InsertTime: String, pub ActiveTime: String, pub SuspendTime: String, pub UpdateTime: String, pub CancelTime: String, pub ActiveTraderID: String, pub ClearingPartID: String, pub SequenceNo: i32, pub FrontID: i32, pub SessionID: i32, pub UserProductInfo: String, pub StatusMsg: String, pub UserForceClose: i32, pub ActiveUserID: String, pub BrokerOrderSeq: i32, pub RelativeOrderSysID: String, pub ZCETotalTradedVolume: i32, pub ErrorID: i32, pub ErrorMsg: String, pub IsSwapOrder: i32, pub BranchID: String, pub InvestUnitID: String, pub AccountID: String, pub CurrencyID: String, pub MacAddress: String, pub InstrumentID: String, pub ExchangeInstID: String, pub IPAddress: String,
}
Expand description

查询错误报单操作

Fields§

§is_null: bool

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

§BrokerID: String

经纪公司代码

§InvestorID: String

投资者代码

§OrderRef: String

报单引用

§UserID: String

用户代码

§OrderPriceType: u8

报单价格条件

§Direction: u8

买卖方向

§CombOffsetFlag: String

组合开平标志

§CombHedgeFlag: String

组合投机套保标志

§LimitPrice: f64

价格

§VolumeTotalOriginal: i32

数量

§TimeCondition: u8

有效期类型

§GTDDate: String

GTD日期

§VolumeCondition: u8

成交量类型

§MinVolume: i32

最小成交量

§ContingentCondition: u8

触发条件

§StopPrice: f64

止损价

§ForceCloseReason: u8

强平原因

§IsAutoSuspend: i32

自动挂起标志

§BusinessUnit: String

业务单元

§RequestID: i32

请求编号

§OrderLocalID: String

本地报单编号

§ExchangeID: String

交易所代码

§ParticipantID: String

会员代码

§ClientID: String

客户代码

§TraderID: String

交易所交易员代码

§InstallID: i32

安装编号

§OrderSubmitStatus: u8

报单提交状态

§NotifySequence: i32

报单提示序号

§TradingDay: String

交易日

§SettlementID: i32

结算编号

§OrderSysID: String

报单编号

§OrderSource: u8

报单来源

§OrderStatus: u8

报单状态

§OrderType: u8

报单类型

§VolumeTraded: i32

今成交数量

§VolumeTotal: i32

剩余数量

§InsertDate: String

报单日期

§InsertTime: String

委托时间

§ActiveTime: String

激活时间

§SuspendTime: String

挂起时间

§UpdateTime: String

最后修改时间

§CancelTime: String

撤销时间

§ActiveTraderID: String

最后修改交易所交易员代码

§ClearingPartID: String

结算会员编号

§SequenceNo: i32

序号

§FrontID: i32

前置编号

§SessionID: i32

会话编号

§UserProductInfo: String

用户端产品信息

§StatusMsg: String

状态信息

§UserForceClose: i32

用户强平标志

§ActiveUserID: String

操作用户代码

§BrokerOrderSeq: i32

经纪公司报单编号

§RelativeOrderSysID: String

相关报单

§ZCETotalTradedVolume: i32

郑商所成交数量

§ErrorID: i32

错误代码

§ErrorMsg: String

错误信息

§IsSwapOrder: i32

互换单标志

§BranchID: String

营业部编号

§InvestUnitID: String

投资单元代码

§AccountID: String

资金账号

§CurrencyID: String

币种代码

§MacAddress: String

Mac地址

§InstrumentID: String

合约代码

§ExchangeInstID: String

合约在交易所的代码

§IPAddress: String

IP地址

Trait Implementations§

Source§

impl Clone for ErrorConditionalOrderField

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 ErrorConditionalOrderField

Source§

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

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

impl Default for ErrorConditionalOrderField

Source§

fn default() -> Self

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

impl ExternType for ErrorConditionalOrderField

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.