pub struct USOrderDetail {Show 78 fields
pub id: String,
pub aaid: String,
pub account_channel: String,
pub action: i32,
pub symbol: String,
pub underlying_symbol: String,
pub security_type: String,
pub name: String,
pub currency: String,
pub trade_currency: String,
pub order_type: String,
pub status: String,
pub price: String,
pub quantity: String,
pub executed_qty: String,
pub executed_price: String,
pub executed_amount: String,
pub operate_direction: String,
pub time_in_force: i32,
pub gtd: String,
pub tag: i32,
pub msg: String,
pub force_only_rth: i32,
pub submitted_at: String,
pub done_at: String,
pub trigger_price: String,
pub trigger_at: String,
pub trigger_status: i32,
pub trigger_exchange: String,
pub trigger_last_done: String,
pub trigger_count: i32,
pub tailing_amount: String,
pub tailing_percent: String,
pub limit_offset: String,
pub limit_depth_level: i32,
pub market_price: String,
pub submitted_amount: String,
pub estimated_fee: String,
pub free_status: i32,
pub free_amount: String,
pub free_currency: String,
pub deductions_status: i32,
pub deductions_amount: String,
pub deductions_currency: String,
pub platform_deductions_status: i32,
pub platform_deductions_amount: String,
pub platform_deductions_currency: String,
pub display_account: String,
pub settlement_account: String,
pub settlement_channel: String,
pub customer_name: String,
pub real_name: String,
pub en_name: String,
pub joint_real_name: String,
pub joint_en_name: String,
pub org_id: String,
pub bcan: String,
pub op_entrust_way: i32,
pub op_entrust_way_name: String,
pub remark: String,
pub notice: String,
pub short_sell_type: i32,
pub ploy_type: String,
pub ploy_id: String,
pub ploy_status: String,
pub trend: i32,
pub withdrawal_reason: String,
pub activate_order_type: String,
pub activate_rth: i32,
pub submit_price: String,
pub contract_direction: String,
pub strike_price: String,
pub contract_size: String,
pub monitor_price: String,
pub button_control: USButtonControl,
pub charge_detail: Option<USChargeDetail>,
pub attached_orders: Vec<USAttachedOrder>,
pub order_histories: Vec<USOrderHistory>,
}Expand description
Full typed order object within USOrderDetailResponse.
submitted_at and done_at are raw unix-second strings.
order_histories is nested inside this object, not at the response top
level.
Fields§
§id: String§aaid: String§account_channel: String§action: i32§symbol: StringUser-facing trading symbol (e.g. "NKE.US"), converted from
counter_id.
underlying_symbol: StringUser-facing underlying symbol (options only), converted from
underlying_counter_id.
security_type: String§name: String§currency: String§trade_currency: String§order_type: String§status: String§price: String§quantity: String§executed_qty: String§executed_price: String§executed_amount: String§operate_direction: String§time_in_force: i32§gtd: String§tag: i32§msg: String§force_only_rth: i32§submitted_at: String§done_at: String§trigger_price: String§trigger_at: String§trigger_status: i32§trigger_exchange: String§trigger_last_done: String§trigger_count: i32§tailing_amount: String§tailing_percent: String§limit_offset: String§limit_depth_level: i32§market_price: String§submitted_amount: String§estimated_fee: String§free_status: i32§free_amount: String§free_currency: String§deductions_status: i32§deductions_amount: String§deductions_currency: String§platform_deductions_status: i32§platform_deductions_amount: String§platform_deductions_currency: String§display_account: String§settlement_account: String§settlement_channel: String§customer_name: String§real_name: String§en_name: String§joint_real_name: String§joint_en_name: String§org_id: String§bcan: String§op_entrust_way: i32§op_entrust_way_name: String§remark: String§notice: String§short_sell_type: i32§ploy_type: String§ploy_id: String§ploy_status: String§trend: i32§withdrawal_reason: String§activate_order_type: String§activate_rth: i32§submit_price: String§contract_direction: String§strike_price: String§contract_size: String§monitor_price: String§charge_detail: Option<USChargeDetail>§attached_orders: Vec<USAttachedOrder>§order_histories: Vec<USOrderHistory>Trait Implementations§
Source§impl Clone for USOrderDetail
impl Clone for USOrderDetail
Source§fn clone(&self) -> USOrderDetail
fn clone(&self) -> USOrderDetail
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 USOrderDetail
impl Debug for USOrderDetail
Source§impl Default for USOrderDetail
impl Default for USOrderDetail
Source§fn default() -> USOrderDetail
fn default() -> USOrderDetail
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for USOrderDetail
impl<'de> Deserialize<'de> for USOrderDetail
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 USOrderDetail
impl RefUnwindSafe for USOrderDetail
impl Send for USOrderDetail
impl Sync for USOrderDetail
impl Unpin for USOrderDetail
impl UnsafeUnpin for USOrderDetail
impl UnwindSafe for USOrderDetail
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