Struct ig_brokers::models::PositionData[][src]

pub struct PositionData {
Show fields pub contract_size: f64, pub controlled_risk: bool, pub created_date: String, pub created_date_utc: String, pub currency: String, pub deal_id: String, pub deal_reference: String, pub direction: Direction, pub level: f64, pub limit_level: f64, pub limited_risk_premium: f64, pub size: f64, pub stop_level: f64, pub trailing_step: f64, pub trailing_stop_distance: f64,
}

Fields

contract_size: f64controlled_risk: boolcreated_date: Stringcreated_date_utc: Stringcurrency: Stringdeal_id: Stringdeal_reference: Stringdirection: Directionlevel: f64limit_level: f64limited_risk_premium: f64size: f64stop_level: f64trailing_step: f64trailing_stop_distance: f64

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.