[−][src]Struct twsapi::core::contract::ContractDetails
Fields
contract: Contract
market_name: String
min_tick: f64
order_types: String
valid_exchanges: String
price_magnifier: i32
under_con_id: i32
long_name: String
contract_month: String
industry: String
category: String
subcategory: String
time_zone_id: String
trading_hours: String
liquid_hours: String
ev_rule: String
ev_multiplier: f64
md_size_multiplier: i32
agg_group: i32
under_symbol: String
under_sec_type: String
market_rule_ids: String
sec_id_list: Vec<TagValue>
real_expiration_date: String
last_trade_time: String
cusip: String
ratings: String
desc_append: String
bond_type: String
coupon_type: String
callable: bool
putable: bool
coupon: f64
convertible: bool
maturity: String
issue_date: String
next_option_date: String
next_option_type: String
next_option_partial: bool
notes: String
Implementations
impl ContractDetails
[src]
pub fn new(
contract: Contract,
market_name: String,
min_tick: f64,
order_types: String,
valid_exchanges: String,
price_magnifier: i32,
under_con_id: i32,
long_name: String,
contract_month: String,
industry: String,
category: String,
subcategory: String,
time_zone_id: String,
trading_hours: String,
liquid_hours: String,
ev_rule: String,
ev_multiplier: f64,
md_size_multiplier: i32,
agg_group: i32,
under_symbol: String,
under_sec_type: String,
market_rule_ids: String,
sec_id_list: Vec<TagValue>,
real_expiration_date: String,
last_trade_time: String,
cusip: String,
ratings: String,
desc_append: String,
bond_type: String,
coupon_type: String,
callable: bool,
putable: bool,
coupon: f64,
convertible: bool,
maturity: String,
issue_date: String,
next_option_date: String,
next_option_type: String,
next_option_partial: bool,
notes: String
) -> Self
[src]
contract: Contract,
market_name: String,
min_tick: f64,
order_types: String,
valid_exchanges: String,
price_magnifier: i32,
under_con_id: i32,
long_name: String,
contract_month: String,
industry: String,
category: String,
subcategory: String,
time_zone_id: String,
trading_hours: String,
liquid_hours: String,
ev_rule: String,
ev_multiplier: f64,
md_size_multiplier: i32,
agg_group: i32,
under_symbol: String,
under_sec_type: String,
market_rule_ids: String,
sec_id_list: Vec<TagValue>,
real_expiration_date: String,
last_trade_time: String,
cusip: String,
ratings: String,
desc_append: String,
bond_type: String,
coupon_type: String,
callable: bool,
putable: bool,
coupon: f64,
convertible: bool,
maturity: String,
issue_date: String,
next_option_date: String,
next_option_type: String,
next_option_partial: bool,
notes: String
) -> Self
Trait Implementations
impl Clone for ContractDetails
[src]
fn clone(&self) -> ContractDetails
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ContractDetails
[src]
impl Default for ContractDetails
[src]
fn default() -> ContractDetails
[src]
impl<'de> Deserialize<'de> for ContractDetails
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for ContractDetails
[src]
impl Serialize for ContractDetails
[src]
Auto Trait Implementations
impl RefUnwindSafe for ContractDetails
[src]
impl Send for ContractDetails
[src]
impl Sync for ContractDetails
[src]
impl Unpin for ContractDetails
[src]
impl UnwindSafe for ContractDetails
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UnsafeAny for T where
T: Any,
T: Any,