#[repr(C)]pub struct TradingAccountField {Show 49 fields
pub broker_id: [u8; 11],
pub account_id: [u8; 13],
pub pre_mortgage: f64,
pub pre_credit: f64,
pub pre_deposit: f64,
pub pre_balance: f64,
pub pre_margin: f64,
pub interest_base: f64,
pub interest: f64,
pub deposit: f64,
pub withdraw: f64,
pub frozen_margin: f64,
pub frozen_cash: f64,
pub frozen_commission: f64,
pub curr_margin: f64,
pub cash_in: f64,
pub commission: f64,
pub close_profit: f64,
pub position_profit: f64,
pub balance: f64,
pub available: f64,
pub withdraw_quota: f64,
pub reserve: f64,
pub trading_day: [u8; 9],
pub settlement_id: i32,
pub credit: f64,
pub mortgage: f64,
pub exchange_margin: f64,
pub delivery_margin: f64,
pub exchange_delivery_margin: f64,
pub reserve_balance: f64,
pub currency_id: [u8; 4],
pub pre_fund_mortgage_in: f64,
pub pre_fund_mortgage_out: f64,
pub fund_mortgage_in: f64,
pub fund_mortgage_out: f64,
pub fund_mortgage_available: f64,
pub mortgageable_fund: f64,
pub spec_product_margin: f64,
pub spec_product_frozen_margin: f64,
pub spec_product_commission: f64,
pub spec_product_frozen_commission: f64,
pub spec_product_position_profit: f64,
pub spec_product_close_profit: f64,
pub spec_product_position_profit_by_alg: f64,
pub spec_product_exchange_margin: f64,
pub biz_type: u8,
pub frozen_swap: f64,
pub remain_swap: f64,
}
Fields§
§broker_id: [u8; 11]
§account_id: [u8; 13]
§pre_mortgage: f64
§pre_credit: f64
§pre_deposit: f64
§pre_balance: f64
§pre_margin: f64
§interest_base: f64
§interest: f64
§deposit: f64
§withdraw: f64
§frozen_margin: f64
§frozen_cash: f64
§frozen_commission: f64
§curr_margin: f64
§cash_in: f64
§commission: f64
§close_profit: f64
§position_profit: f64
§balance: f64
§available: f64
§withdraw_quota: f64
§reserve: f64
§trading_day: [u8; 9]
§settlement_id: i32
§credit: f64
§mortgage: f64
§exchange_margin: f64
§delivery_margin: f64
§exchange_delivery_margin: f64
§reserve_balance: f64
§currency_id: [u8; 4]
§pre_fund_mortgage_in: f64
§pre_fund_mortgage_out: f64
§fund_mortgage_in: f64
§fund_mortgage_out: f64
§fund_mortgage_available: f64
§mortgageable_fund: f64
§spec_product_margin: f64
§spec_product_frozen_margin: f64
§spec_product_commission: f64
§spec_product_frozen_commission: f64
§spec_product_position_profit: f64
§spec_product_close_profit: f64
§spec_product_position_profit_by_alg: f64
§spec_product_exchange_margin: f64
§biz_type: u8
§frozen_swap: f64
§remain_swap: f64
Trait Implementations§
Source§impl Clone for TradingAccountField
impl Clone for TradingAccountField
Source§fn clone(&self) -> TradingAccountField
fn clone(&self) -> TradingAccountField
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TradingAccountField
impl Debug for TradingAccountField
Auto Trait Implementations§
impl Freeze for TradingAccountField
impl RefUnwindSafe for TradingAccountField
impl Send for TradingAccountField
impl Sync for TradingAccountField
impl Unpin for TradingAccountField
impl UnwindSafe for TradingAccountField
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more