pub struct WorkingOrderUpdate {Show 18 fields
pub deal_reference: Option<String>,
pub deal_id: Option<String>,
pub direction: Option<Direction>,
pub epic: Option<String>,
pub status: Option<Status>,
pub deal_status: Option<Status>,
pub level: Option<f64>,
pub size: Option<f64>,
pub currency: Option<String>,
pub timestamp: Option<String>,
pub channel: Option<String>,
pub expiry: Option<String>,
pub stop_distance: Option<f64>,
pub limit_distance: Option<f64>,
pub guaranteed_stop: Option<bool>,
pub order_type: Option<OrderType>,
pub time_in_force: Option<TimeInForce>,
pub good_till_date: Option<String>,
}Expand description
Structure representing details of a working order update.
Fields§
§deal_reference: Option<String>Unique deal reference for the working order.
deal_id: Option<String>Unique deal identifier for the working order.
direction: Option<Direction>Direction of the working order (buy or sell).
epic: Option<String>Epic identifier for the working order instrument.
status: Option<Status>Status of the working order.
deal_status: Option<Status>Deal status of the working order.
level: Option<f64>Price level at which the working order is set.
size: Option<f64>Working order size.
currency: Option<String>Currency of the working order.
timestamp: Option<String>Timestamp of the working order update.
channel: Option<String>Channel through which the working order update was received.
expiry: Option<String>Expiry date of the working order.
stop_distance: Option<f64>Stop distance for guaranteed stop orders.
limit_distance: Option<f64>Limit distance for guaranteed stop orders.
guaranteed_stop: Option<bool>Whether the stop is guaranteed.
order_type: Option<OrderType>Type of the order (e.g., market, limit).
time_in_force: Option<TimeInForce>Time in force for the order.
good_till_date: Option<String>Good till date for the working order.
Trait Implementations§
Source§impl Clone for WorkingOrderUpdate
impl Clone for WorkingOrderUpdate
Source§fn clone(&self) -> WorkingOrderUpdate
fn clone(&self) -> WorkingOrderUpdate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkingOrderUpdate
impl Debug for WorkingOrderUpdate
Source§impl Default for WorkingOrderUpdate
impl Default for WorkingOrderUpdate
Source§fn default() -> WorkingOrderUpdate
fn default() -> WorkingOrderUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkingOrderUpdate
impl<'de> Deserialize<'de> for WorkingOrderUpdate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WorkingOrderUpdate
impl RefUnwindSafe for WorkingOrderUpdate
impl Send for WorkingOrderUpdate
impl Sync for WorkingOrderUpdate
impl Unpin for WorkingOrderUpdate
impl UnwindSafe for WorkingOrderUpdate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more