Struct SyncDeltaTradingAccountField

Source
#[repr(C)]
pub struct SyncDeltaTradingAccountField {
Show 51 fields pub is_null: bool, pub BrokerID: String, pub AccountID: String, pub PreMortgage: f64, pub PreCredit: f64, pub PreDeposit: f64, pub PreBalance: f64, pub PreMargin: f64, pub InterestBase: f64, pub Interest: f64, pub Deposit: f64, pub Withdraw: f64, pub FrozenMargin: f64, pub FrozenCash: f64, pub FrozenCommission: f64, pub CurrMargin: f64, pub CashIn: f64, pub Commission: f64, pub CloseProfit: f64, pub PositionProfit: f64, pub Balance: f64, pub Available: f64, pub WithdrawQuota: f64, pub Reserve: f64, pub TradingDay: String, pub SettlementID: i32, pub Credit: f64, pub Mortgage: f64, pub ExchangeMargin: f64, pub DeliveryMargin: f64, pub ExchangeDeliveryMargin: f64, pub ReserveBalance: f64, pub CurrencyID: String, pub PreFundMortgageIn: f64, pub PreFundMortgageOut: f64, pub FundMortgageIn: f64, pub FundMortgageOut: f64, pub FundMortgageAvailable: f64, pub MortgageableFund: f64, pub SpecProductMargin: f64, pub SpecProductFrozenMargin: f64, pub SpecProductCommission: f64, pub SpecProductFrozenCommission: f64, pub SpecProductPositionProfit: f64, pub SpecProductCloseProfit: f64, pub SpecProductPositionProfitByAlg: f64, pub SpecProductExchangeMargin: f64, pub FrozenSwap: f64, pub RemainSwap: f64, pub OptionValue: f64, pub SyncDeltaSequenceNo: i32,
}

Fields§

§is_null: bool§BrokerID: String§AccountID: String§PreMortgage: f64§PreCredit: f64§PreDeposit: f64§PreBalance: f64§PreMargin: f64§InterestBase: f64§Interest: f64§Deposit: f64§Withdraw: f64§FrozenMargin: f64§FrozenCash: f64§FrozenCommission: f64§CurrMargin: f64§CashIn: f64§Commission: f64§CloseProfit: f64§PositionProfit: f64§Balance: f64§Available: f64§WithdrawQuota: f64§Reserve: f64§TradingDay: String§SettlementID: i32§Credit: f64§Mortgage: f64§ExchangeMargin: f64§DeliveryMargin: f64§ExchangeDeliveryMargin: f64§ReserveBalance: f64§CurrencyID: String§PreFundMortgageIn: f64§PreFundMortgageOut: f64§FundMortgageIn: f64§FundMortgageOut: f64§FundMortgageAvailable: f64§MortgageableFund: f64§SpecProductMargin: f64§SpecProductFrozenMargin: f64§SpecProductCommission: f64§SpecProductFrozenCommission: f64§SpecProductPositionProfit: f64§SpecProductCloseProfit: f64§SpecProductPositionProfitByAlg: f64§SpecProductExchangeMargin: f64§FrozenSwap: f64§RemainSwap: f64§OptionValue: f64§SyncDeltaSequenceNo: i32

Trait Implementations§

Source§

impl Clone for SyncDeltaTradingAccountField

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 SyncDeltaTradingAccountField

Source§

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

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

impl Default for SyncDeltaTradingAccountField

Source§

fn default() -> Self

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

impl ExternType for SyncDeltaTradingAccountField

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.