pub struct CreatePosition {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 guaranteed_stop: Option<bool>,
pub level: Option<f64>,
pub limit_distance: Option<f64>,
pub limit_level: Option<f64>,
pub order_type: Option<OrderType>,
pub quote_id: Option<String>,
pub size: Option<f64>,
pub stop_distance: Option<f64>,
pub stop_level: Option<f64>,
pub time_in_force: Option<TimeInForce>,
pub trailing_stop: Option<bool>,
pub trailing_stop_increment: Option<f64>,
}
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
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
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
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.