Struct ib_tws_core::domain::contract::Contract
source · pub struct Contract {Show 18 fields
pub con_id: i32,
pub symbol: String,
pub sec_type: String,
pub last_trade_date_or_contract_month: String,
pub strike: f64,
pub right: String,
pub multiplier: String,
pub exchange: String,
pub primary_exch: String,
pub currency: String,
pub local_symbol: String,
pub trading_class: String,
pub sec_id_type: String,
pub sec_id: String,
pub delta_neutral_contract: Option<DeltaNeutralContract>,
pub include_expired: bool,
pub combo_legs_descrip: String,
pub combo_legs: Vec<ComboLeg>,
}
Fields
con_id: i32
symbol: String
sec_type: String
last_trade_date_or_contract_month: String
strike: f64
right: String
multiplier: String
exchange: String
primary_exch: String
currency: String
local_symbol: String
trading_class: String
sec_id_type: String
sec_id: String
delta_neutral_contract: Option<DeltaNeutralContract>
include_expired: bool
combo_legs_descrip: String
combo_legs: Vec<ComboLeg>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Contract
impl Send for Contract
impl Sync for Contract
impl Unpin for Contract
impl UnwindSafe for Contract
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more