Skip to main content

SpdApplyField

Struct SpdApplyField 

Source
#[repr(C)]
pub struct SpdApplyField {
Show 35 fields pub is_null: bool, pub BrokerID: String, pub InvestorID: String, pub FirstLegInstrumentID: String, pub SecondLegInstrumentID: String, pub UserID: String, pub Volume: i32, pub Direction: u8, pub RequestID: i32, pub FrontID: i32, pub SessionID: i32, pub OrderRef: String, pub ActiveUserID: String, pub BrokerOrderSeq: i32, pub OrderSysID: String, pub ApplyStatus: u8, pub SequenceNo: i32, pub InsertDate: String, pub InsertTime: String, pub CancelTime: String, pub OrderLocalID: String, pub ExchangeID: String, pub ParticipantID: String, pub ClientID: String, pub ExchangeInstID: String, pub TraderID: String, pub InstallID: i32, pub OrderSubmitStatus: u8, pub NotifySequence: i32, pub TradingDay: String, pub SettlementID: i32, pub IPAddress: String, pub MacAddress: String, pub CmbType: u8, pub StatusMsg: String,
}
Expand description

套利申请回报

Fields§

§is_null: bool

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

§BrokerID: String

经纪公司代码

§InvestorID: String

投资者代码

§FirstLegInstrumentID: String

合约代码

§SecondLegInstrumentID: String

合约代码

§UserID: String

用户代码

§Volume: i32

数量

§Direction: u8

买卖方向

§RequestID: i32

请求编号

§FrontID: i32

前置编号

§SessionID: i32

会话编号

§OrderRef: String

报单引用

§ActiveUserID: String

操作用户代码

§BrokerOrderSeq: i32

经纪公司报单编号

§OrderSysID: String

报单编号

§ApplyStatus: u8

申请状态

§SequenceNo: i32

序号

§InsertDate: String

报单日期

§InsertTime: String

委托时间

§CancelTime: String

撤销时间

§OrderLocalID: String

本地报单编号

§ExchangeID: String

交易所代码

§ParticipantID: String

会员代码

§ClientID: String

客户代码

§ExchangeInstID: String

合约在交易所的代码

§TraderID: String

交易所交易员代码

§InstallID: i32

安装编号

§OrderSubmitStatus: u8

报单提交状态

§NotifySequence: i32

报单提示序号

§TradingDay: String

交易日

§SettlementID: i32

结算编号

§IPAddress: String

IP地址

§MacAddress: String

Mac地址

§CmbType: u8

组合定单类型

§StatusMsg: String

状态信息

Trait Implementations§

Source§

impl Clone for SpdApplyField

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 SpdApplyField

Source§

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

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

impl Default for SpdApplyField

Source§

fn default() -> Self

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

impl ExternType for SpdApplyField

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.