pub struct USAttachedOrder {Show 14 fields
pub attached_type_display: i32,
pub executed_qty: String,
pub quantity: String,
pub status: String,
pub trigger_price: String,
pub order_id: String,
pub gtd: String,
pub time_in_force: i32,
pub tag: i32,
pub activate_order_type: String,
pub activate_rth: i32,
pub submit_price: String,
pub symbol: String,
pub withdrawn: bool,
}Expand description
One bracket/conditional sub-order attached to a main order.
Fields§
§attached_type_display: i32Attached-order type (display code)
executed_qty: StringExecuted quantity
quantity: StringOrder quantity
status: StringOrder status
trigger_price: StringTrigger price
order_id: StringOrder ID
gtd: StringGood-till date
time_in_force: i32Time-in-force code
tag: i32Order tag code
activate_order_type: StringOrder type to activate on trigger
activate_rth: i32Whether to activate outside regular trading hours
submit_price: StringSubmitted price
symbol: StringUser-facing trading symbol (e.g. "NKE.US")
withdrawn: boolWhether the order has been withdrawn
Trait Implementations§
Source§impl Clone for USAttachedOrder
impl Clone for USAttachedOrder
Source§fn clone(&self) -> USAttachedOrder
fn clone(&self) -> USAttachedOrder
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 USAttachedOrder
impl Debug for USAttachedOrder
Source§impl Default for USAttachedOrder
impl Default for USAttachedOrder
Source§fn default() -> USAttachedOrder
fn default() -> USAttachedOrder
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for USAttachedOrder
impl<'de> Deserialize<'de> for USAttachedOrder
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 USAttachedOrder
impl RefUnwindSafe for USAttachedOrder
impl Send for USAttachedOrder
impl Sync for USAttachedOrder
impl Unpin for USAttachedOrder
impl UnsafeUnpin for USAttachedOrder
impl UnwindSafe for USAttachedOrder
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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