#[repr(C)]pub struct InstrumentMarginRateField {
pub instrument_id: InstrumentIdType,
pub investor_range: u8,
pub broker_id: BrokerIdType,
pub investor_id: InvestorIdType,
pub hedge_flag: u8,
pub long_margin_ratio_by_money: f64,
pub long_margin_ratio_by_volume: f64,
pub short_margin_ratio_by_money: f64,
pub short_margin_ratio_by_volume: f64,
pub is_relative: i32,
pub exchange_id: ExchangeIdType,
pub invest_unit_id: InvestUnitIdType,
}
Fields§
§instrument_id: InstrumentIdType
§investor_range: u8
§broker_id: BrokerIdType
§investor_id: InvestorIdType
§hedge_flag: u8
§long_margin_ratio_by_money: f64
§long_margin_ratio_by_volume: f64
§short_margin_ratio_by_money: f64
§short_margin_ratio_by_volume: f64
§is_relative: i32
§exchange_id: ExchangeIdType
§invest_unit_id: InvestUnitIdType
Trait Implementations§
Source§impl Clone for InstrumentMarginRateField
impl Clone for InstrumentMarginRateField
Source§fn clone(&self) -> InstrumentMarginRateField
fn clone(&self) -> InstrumentMarginRateField
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 InstrumentMarginRateField
impl Debug for InstrumentMarginRateField
Auto Trait Implementations§
impl Freeze for InstrumentMarginRateField
impl RefUnwindSafe for InstrumentMarginRateField
impl Send for InstrumentMarginRateField
impl Sync for InstrumentMarginRateField
impl Unpin for InstrumentMarginRateField
impl UnwindSafe for InstrumentMarginRateField
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