Struct RiskSettleInvstPositionField

Source
#[repr(C)]
pub struct RiskSettleInvstPositionField {
Show 50 fields pub is_null: bool, pub InstrumentID: String, pub BrokerID: String, pub InvestorID: String, pub PosiDirection: u8, pub HedgeFlag: u8, pub PositionDate: u8, pub YdPosition: i32, pub Position: i32, pub LongFrozen: i32, pub ShortFrozen: i32, pub LongFrozenAmount: f64, pub ShortFrozenAmount: f64, pub OpenVolume: i32, pub CloseVolume: i32, pub OpenAmount: f64, pub CloseAmount: f64, pub PositionCost: f64, pub PreMargin: f64, pub UseMargin: f64, pub FrozenMargin: f64, pub FrozenCash: f64, pub FrozenCommission: f64, pub CashIn: f64, pub Commission: f64, pub CloseProfit: f64, pub PositionProfit: f64, pub PreSettlementPrice: f64, pub SettlementPrice: f64, pub TradingDay: String, pub SettlementID: i32, pub OpenCost: f64, pub ExchangeMargin: f64, pub CombPosition: i32, pub CombLongFrozen: i32, pub CombShortFrozen: i32, pub CloseProfitByDate: f64, pub CloseProfitByTrade: f64, pub TodayPosition: i32, pub MarginRateByMoney: f64, pub MarginRateByVolume: f64, pub StrikeFrozen: i32, pub StrikeFrozenAmount: f64, pub AbandonFrozen: i32, pub ExchangeID: String, pub YdStrikeFrozen: i32, pub InvestUnitID: String, pub PositionCostOffset: f64, pub TasPosition: i32, pub TasPositionCost: f64,
}

Fields§

§is_null: bool§InstrumentID: String§BrokerID: String§InvestorID: String§PosiDirection: u8§HedgeFlag: u8§PositionDate: u8§YdPosition: i32§Position: i32§LongFrozen: i32§ShortFrozen: i32§LongFrozenAmount: f64§ShortFrozenAmount: f64§OpenVolume: i32§CloseVolume: i32§OpenAmount: f64§CloseAmount: f64§PositionCost: f64§PreMargin: f64§UseMargin: f64§FrozenMargin: f64§FrozenCash: f64§FrozenCommission: f64§CashIn: f64§Commission: f64§CloseProfit: f64§PositionProfit: f64§PreSettlementPrice: f64§SettlementPrice: f64§TradingDay: String§SettlementID: i32§OpenCost: f64§ExchangeMargin: f64§CombPosition: i32§CombLongFrozen: i32§CombShortFrozen: i32§CloseProfitByDate: f64§CloseProfitByTrade: f64§TodayPosition: i32§MarginRateByMoney: f64§MarginRateByVolume: f64§StrikeFrozen: i32§StrikeFrozenAmount: f64§AbandonFrozen: i32§ExchangeID: String§YdStrikeFrozen: i32§InvestUnitID: String§PositionCostOffset: f64§TasPosition: i32§TasPositionCost: f64

Trait Implementations§

Source§

impl Clone for RiskSettleInvstPositionField

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for RiskSettleInvstPositionField

Source§

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

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

impl Default for RiskSettleInvstPositionField

Source§

fn default() -> Self

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

impl ExternType for RiskSettleInvstPositionField

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.