#[repr(C)]pub struct InstrumentField {Show 31 fields
pub instrument_id: [u8; 31],
pub exchange_id: [u8; 9],
pub instrument_name: [u8; 21],
pub exchange_inst_id: [u8; 31],
pub product_id: [u8; 31],
pub product_class: u8,
pub delivery_year: i32,
pub delivery_month: i32,
pub max_market_order_volume: i32,
pub min_market_order_volume: i32,
pub max_limit_order_volume: i32,
pub min_limit_order_volume: i32,
pub volume_multiple: i32,
pub price_tick: f64,
pub create_date: [u8; 9],
pub open_date: [u8; 9],
pub expire_date: [u8; 9],
pub start_deliv_date: [u8; 9],
pub end_deliv_date: [u8; 9],
pub inst_life_phase: u8,
pub is_trading: i32,
pub position_type: u8,
pub position_date_type: u8,
pub long_margin_ratio: f64,
pub short_margin_ratio: f64,
pub max_margin_side_algorithm: u8,
pub underlying_instr_id: [u8; 31],
pub strike_price: f64,
pub options_type: u8,
pub underlying_multiple: f64,
pub combination_type: u8,
}
Fields§
§instrument_id: [u8; 31]
§exchange_id: [u8; 9]
§instrument_name: [u8; 21]
§exchange_inst_id: [u8; 31]
§product_id: [u8; 31]
§product_class: u8
§delivery_year: i32
§delivery_month: i32
§max_market_order_volume: i32
§min_market_order_volume: i32
§max_limit_order_volume: i32
§min_limit_order_volume: i32
§volume_multiple: i32
§price_tick: f64
§create_date: [u8; 9]
§open_date: [u8; 9]
§expire_date: [u8; 9]
§start_deliv_date: [u8; 9]
§end_deliv_date: [u8; 9]
§inst_life_phase: u8
§is_trading: i32
§position_type: u8
§position_date_type: u8
§long_margin_ratio: f64
§short_margin_ratio: f64
§max_margin_side_algorithm: u8
§underlying_instr_id: [u8; 31]
§strike_price: f64
§options_type: u8
§underlying_multiple: f64
§combination_type: u8
Trait Implementations§
Source§impl Clone for InstrumentField
impl Clone for InstrumentField
Source§fn clone(&self) -> InstrumentField
fn clone(&self) -> InstrumentField
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 InstrumentField
impl Debug for InstrumentField
Auto Trait Implementations§
impl Freeze for InstrumentField
impl RefUnwindSafe for InstrumentField
impl Send for InstrumentField
impl Sync for InstrumentField
impl Unpin for InstrumentField
impl UnwindSafe for InstrumentField
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