[][src]Struct twsapi::core::contract::ContractDetails

pub struct ContractDetails {
    pub contract: Contract,
    pub market_name: String,
    pub min_tick: f64,
    pub order_types: String,
    pub valid_exchanges: String,
    pub price_magnifier: i32,
    pub under_con_id: i32,
    pub long_name: String,
    pub contract_month: String,
    pub industry: String,
    pub category: String,
    pub subcategory: String,
    pub time_zone_id: String,
    pub trading_hours: String,
    pub liquid_hours: String,
    pub ev_rule: String,
    pub ev_multiplier: f64,
    pub md_size_multiplier: i32,
    pub agg_group: i32,
    pub under_symbol: String,
    pub under_sec_type: String,
    pub market_rule_ids: String,
    pub sec_id_list: Vec<TagValue>,
    pub real_expiration_date: String,
    pub last_trade_time: String,
    pub cusip: String,
    pub ratings: String,
    pub desc_append: String,
    pub bond_type: String,
    pub coupon_type: String,
    pub callable: bool,
    pub putable: bool,
    pub coupon: f64,
    pub convertible: bool,
    pub maturity: String,
    pub issue_date: String,
    pub next_option_date: String,
    pub next_option_type: String,
    pub next_option_partial: bool,
    pub notes: String,
}

Fields

contract: Contractmarket_name: Stringmin_tick: f64order_types: Stringvalid_exchanges: Stringprice_magnifier: i32under_con_id: i32long_name: Stringcontract_month: Stringindustry: Stringcategory: Stringsubcategory: Stringtime_zone_id: Stringtrading_hours: Stringliquid_hours: Stringev_rule: Stringev_multiplier: f64md_size_multiplier: i32agg_group: i32under_symbol: Stringunder_sec_type: Stringmarket_rule_ids: Stringsec_id_list: Vec<TagValue>real_expiration_date: Stringlast_trade_time: Stringcusip: Stringratings: Stringdesc_append: Stringbond_type: Stringcoupon_type: Stringcallable: boolputable: boolcoupon: f64convertible: boolmaturity: Stringissue_date: Stringnext_option_date: Stringnext_option_type: Stringnext_option_partial: boolnotes: 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]

Trait Implementations

impl Clone for ContractDetails[src]

impl Debug for ContractDetails[src]

impl Default for ContractDetails[src]

impl<'de> Deserialize<'de> for ContractDetails[src]

impl Display for ContractDetails[src]

impl Serialize for ContractDetails[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Clone + Any

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any