Struct ig_brokers::models::InstrumentDetails[][src]

pub struct InstrumentDetails {
Show fields pub chart_code: String, pub contract_size: String, pub controlled_risk_allowed: bool, pub country: Option<String>, pub currencies: Vec<Currency>, pub epic: String, pub expiry: String, pub expiry_details: Option<Expiry>, pub force_open_allowed: bool, pub limited_risk_premium: DealingRule, pub lot_size: f64, pub margin_deposit_bands: Vec<DepositBand>, pub margin_factor: f64, pub margin_factor_unit: RuleUnit, pub market_id: String, pub name: String, pub news_code: String, pub one_pip_means: String, pub opening_hours: Option<OpeningHours>, pub rollover_details: Option<Rollover>, pub slippage_factor: SlippageFactor, pub special_info: Vec<String>, pub sprint_markets_maximum_expiry_time: Option<f64>, pub sprint_markets_minimum_expiry_time: Option<f64>, pub stops_limits_allowed: bool, pub streaming_prices_available: bool, pub type: InstrumentType, pub unit: InstrumentUnit, pub value_of_one_pip: String,
}

Fields

chart_code: Stringcontract_size: Stringcontrolled_risk_allowed: boolcountry: Option<String>currencies: Vec<Currency>epic: Stringexpiry: Stringexpiry_details: Option<Expiry>force_open_allowed: boollimited_risk_premium: DealingRulelot_size: f64margin_deposit_bands: Vec<DepositBand>margin_factor: f64margin_factor_unit: RuleUnitmarket_id: Stringname: Stringnews_code: Stringone_pip_means: Stringopening_hours: Option<OpeningHours>rollover_details: Option<Rollover>slippage_factor: SlippageFactorspecial_info: Vec<String>sprint_markets_maximum_expiry_time: Option<f64>sprint_markets_minimum_expiry_time: Option<f64>stops_limits_allowed: boolstreaming_prices_available: booltype: InstrumentTypeunit: InstrumentUnitvalue_of_one_pip: String

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.