pub struct AttachedOrderDetail {Show 21 fields
pub order_id: String,
pub attached_type_display: AttachedOrderType,
pub trigger_price: Option<Decimal>,
pub quantity: Decimal,
pub executed_qty: Decimal,
pub status: OrderStatus,
pub updated_at: OffsetDateTime,
pub withdrawn: bool,
pub gtd: Option<Date>,
pub time_in_force: TimeInForceType,
pub counter_id: String,
pub trigger_status: Option<TriggerStatus>,
pub executed_amount: Decimal,
pub tag: OrderTag,
pub submitted_at: OffsetDateTime,
pub executed_price: Option<Decimal>,
pub force_only_rth: Option<OutsideRTH>,
pub reviewed: bool,
pub activate_order_type: OrderType,
pub activate_rth: Option<OutsideRTH>,
pub submit_price: Option<Decimal>,
}Expand description
Attached order detail
Fields§
§order_id: StringAttached order ID
attached_type_display: AttachedOrderTypeAttached order type
trigger_price: Option<Decimal>Trigger price
quantity: DecimalQuantity
executed_qty: DecimalExecuted quantity
status: OrderStatusOrder status
updated_at: OffsetDateTimeLast updated time (unix timestamp seconds)
withdrawn: boolWhether withdrawn
gtd: Option<Date>GTD date
time_in_force: TimeInForceTypeTime in force
counter_id: StringCounter order ID
trigger_status: Option<TriggerStatus>Trigger status
executed_amount: DecimalExecuted amount
tag: OrderTagTag
submitted_at: OffsetDateTimeSubmitted time (unix timestamp seconds)
executed_price: Option<Decimal>Executed price
force_only_rth: Option<OutsideRTH>Force RTH only
reviewed: boolWhether reviewed
activate_order_type: OrderTypeOrder type to submit after trigger
activate_rth: Option<OutsideRTH>RTH setting for activated order
submit_price: Option<Decimal>Submit price (limit price)
Trait Implementations§
Source§impl Clone for AttachedOrderDetail
impl Clone for AttachedOrderDetail
Source§fn clone(&self) -> AttachedOrderDetail
fn clone(&self) -> AttachedOrderDetail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AttachedOrderDetail
impl Debug for AttachedOrderDetail
Source§impl<'de> Deserialize<'de> for AttachedOrderDetail
impl<'de> Deserialize<'de> for AttachedOrderDetail
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 AttachedOrderDetail
impl RefUnwindSafe for AttachedOrderDetail
impl Send for AttachedOrderDetail
impl Sync for AttachedOrderDetail
impl Unpin for AttachedOrderDetail
impl UnsafeUnpin for AttachedOrderDetail
impl UnwindSafe for AttachedOrderDetail
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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