Struct ig_brokers::models::UpdatePosition[][src]

pub struct UpdatePosition {
    pub guaranteed_stop: Option<bool>,
    pub limit_level: Option<f64>,
    pub stop_level: Option<f64>,
    pub trailing_stop: Option<bool>,
    pub trailing_stop_distance: Option<f64>,
    pub trailing_stop_increment: Option<f64>,
}

Fields

guaranteed_stop: Option<bool>limit_level: Option<f64>stop_level: Option<f64>trailing_stop: Option<bool>trailing_stop_distance: Option<f64>trailing_stop_increment: Option<f64>

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.