Struct ig_brokers::models::CreateWorkingOrder[][src]

pub struct CreateWorkingOrder {
Show fields pub currency_code: Option<String>, pub deal_reference: Option<String>, pub direction: Option<Direction>, pub epic: Option<String>, pub expiry: Option<String>, pub force_open: Option<bool>, pub good_till_date: Option<String>, pub guaranteed_stop: Option<bool>, pub level: Option<f64>, pub limit_distance: Option<f64>, pub limit_level: Option<f64>, pub size: Option<f64>, pub stop_distance: Option<f64>, pub stop_level: Option<f64>, pub time_in_force: Option<WorkingOrderTimeInForce>, pub type: Option<WorkingOrderType>,
}

Fields

currency_code: Option<String>deal_reference: Option<String>direction: Option<Direction>epic: Option<String>expiry: Option<String>force_open: Option<bool>good_till_date: Option<String>guaranteed_stop: Option<bool>level: Option<f64>limit_distance: Option<f64>limit_level: Option<f64>size: Option<f64>stop_distance: Option<f64>stop_level: Option<f64>time_in_force: Option<WorkingOrderTimeInForce>type: Option<WorkingOrderType>

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Serialize this value into the given Serde serializer. 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.