pub struct ExecutionResult {Show 44 fields
pub amended: Option<bool>,
pub execution_type: ExecutionType,
pub cash_order_quantity: Option<Decimal>,
pub client_order_id: Option<String>,
pub contingent: Option<ConditionalParams>,
pub cost: Option<Decimal>,
pub execution_id: Option<String>,
pub fees: Option<Vec<Fee>>,
pub liquidity_indicator: Option<MakerTaker>,
pub last_price: Option<Decimal>,
pub last_quantity: Option<Decimal>,
pub average_price: Option<Decimal>,
pub reason: Option<String>,
pub cumulative_cost: Option<Decimal>,
pub cumulative_quantity: Option<Decimal>,
pub display_quantity: Option<Decimal>,
pub effective_time: Option<String>,
pub expire_time: Option<String>,
pub ext_ord_id: Option<String>,
pub ext_exec_id: Option<String>,
pub fee_preference: Option<FeePreference>,
pub fee_usd_equivalent: Option<Decimal>,
pub limit_price: Option<Decimal>,
pub limit_price_type: Option<PriceType>,
pub liquidated: Option<bool>,
pub margin: Option<bool>,
pub margin_borrow: Option<bool>,
pub no_market_price_protection: Option<bool>,
pub order_ref_id: Option<i64>,
pub order_id: String,
pub order_quantity: Option<Decimal>,
pub order_type: Option<OrderType>,
pub order_status: OrderStatusV2,
pub order_user_ref: Option<i64>,
pub post_only: Option<bool>,
pub position_status: Option<PositionStatusV2>,
pub reduce_only: Option<bool>,
pub sender_sub_id: Option<String>,
pub side: Option<BuySell>,
pub symbol: Option<String>,
pub time_in_force: Option<TimeInForce>,
pub timestamp: String,
pub trade_id: Option<i64>,
pub triggers: Option<TriggerDescription>,
}
Fields§
§amended: Option<bool>
§execution_type: ExecutionType
§cash_order_quantity: Option<Decimal>
§client_order_id: Option<String>
§contingent: Option<ConditionalParams>
§cost: Option<Decimal>
§execution_id: Option<String>
§fees: Option<Vec<Fee>>
§liquidity_indicator: Option<MakerTaker>
§last_price: Option<Decimal>
§last_quantity: Option<Decimal>
§average_price: Option<Decimal>
§reason: Option<String>
§cumulative_cost: Option<Decimal>
§cumulative_quantity: Option<Decimal>
§display_quantity: Option<Decimal>
§effective_time: Option<String>
§expire_time: Option<String>
§ext_ord_id: Option<String>
§ext_exec_id: Option<String>
§fee_preference: Option<FeePreference>
§fee_usd_equivalent: Option<Decimal>
§limit_price: Option<Decimal>
§limit_price_type: Option<PriceType>
§liquidated: Option<bool>
§margin: Option<bool>
§margin_borrow: Option<bool>
§no_market_price_protection: Option<bool>
§order_ref_id: Option<i64>
§order_id: String
§order_quantity: Option<Decimal>
§order_type: Option<OrderType>
§order_status: OrderStatusV2
§order_user_ref: Option<i64>
§post_only: Option<bool>
§position_status: Option<PositionStatusV2>
§reduce_only: Option<bool>
§sender_sub_id: Option<String>
§side: Option<BuySell>
§symbol: Option<String>
§time_in_force: Option<TimeInForce>
§timestamp: String
§trade_id: Option<i64>
§triggers: Option<TriggerDescription>
Trait Implementations§
Source§impl Debug for ExecutionResult
impl Debug for ExecutionResult
Source§impl<'de> Deserialize<'de> for ExecutionResult
impl<'de> Deserialize<'de> for ExecutionResult
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
Source§impl PartialEq for ExecutionResult
impl PartialEq for ExecutionResult
impl StructuralPartialEq for ExecutionResult
Auto Trait Implementations§
impl Freeze for ExecutionResult
impl RefUnwindSafe for ExecutionResult
impl Send for ExecutionResult
impl Sync for ExecutionResult
impl Unpin for ExecutionResult
impl UnwindSafe for ExecutionResult
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