pub struct BitmexExecution {Show 44 fields
pub exec_id: Uuid,
pub order_id: Option<Uuid>,
pub cl_ord_id: Option<Ustr>,
pub cl_ord_link_id: Option<Ustr>,
pub account: i64,
pub symbol: Option<Ustr>,
pub side: Option<BitmexSide>,
pub last_qty: i64,
pub last_px: f64,
pub underlying_last_px: Option<f64>,
pub last_mkt: Option<Ustr>,
pub last_liquidity_ind: Option<BitmexLiquidityIndicator>,
pub order_qty: Option<i64>,
pub price: Option<f64>,
pub display_qty: Option<i64>,
pub stop_px: Option<f64>,
pub peg_offset_value: Option<f64>,
pub peg_price_type: Option<BitmexPegPriceType>,
pub currency: Option<Ustr>,
pub settl_currency: Option<Ustr>,
pub exec_type: BitmexExecType,
pub ord_type: BitmexOrderType,
pub time_in_force: BitmexTimeInForce,
pub exec_inst: Option<Vec<BitmexExecInstruction>>,
pub contingency_type: Option<BitmexContingencyType>,
pub ex_destination: Option<Ustr>,
pub ord_status: Option<BitmexOrderStatus>,
pub triggered: Option<Ustr>,
pub working_indicator: Option<bool>,
pub ord_rej_reason: Option<Ustr>,
pub leaves_qty: Option<i64>,
pub cum_qty: Option<i64>,
pub avg_px: Option<f64>,
pub commission: Option<f64>,
pub trade_publish_indicator: Option<Ustr>,
pub multi_leg_reporting_type: Option<Ustr>,
pub text: Option<Ustr>,
pub trd_match_id: Option<Uuid>,
pub exec_cost: Option<i64>,
pub exec_comm: Option<i64>,
pub home_notional: Option<f64>,
pub foreign_notional: Option<f64>,
pub transact_time: Option<DateTime<Utc>>,
pub timestamp: Option<DateTime<Utc>>,
}
Expand description
Raw Order and Balance Data.
Fields§
§exec_id: Uuid
§order_id: Option<Uuid>
§cl_ord_id: Option<Ustr>
§cl_ord_link_id: Option<Ustr>
§account: i64
§symbol: Option<Ustr>
§side: Option<BitmexSide>
§last_qty: i64
§last_px: f64
§underlying_last_px: Option<f64>
§last_mkt: Option<Ustr>
§last_liquidity_ind: Option<BitmexLiquidityIndicator>
§order_qty: Option<i64>
§price: Option<f64>
§display_qty: Option<i64>
§stop_px: Option<f64>
§peg_offset_value: Option<f64>
§peg_price_type: Option<BitmexPegPriceType>
§currency: Option<Ustr>
§settl_currency: Option<Ustr>
§exec_type: BitmexExecType
§ord_type: BitmexOrderType
§time_in_force: BitmexTimeInForce
§exec_inst: Option<Vec<BitmexExecInstruction>>
§contingency_type: Option<BitmexContingencyType>
§ex_destination: Option<Ustr>
§ord_status: Option<BitmexOrderStatus>
§triggered: Option<Ustr>
§working_indicator: Option<bool>
§ord_rej_reason: Option<Ustr>
§leaves_qty: Option<i64>
§cum_qty: Option<i64>
§avg_px: Option<f64>
§commission: Option<f64>
§trade_publish_indicator: Option<Ustr>
§multi_leg_reporting_type: Option<Ustr>
§text: Option<Ustr>
§trd_match_id: Option<Uuid>
§exec_cost: Option<i64>
§exec_comm: Option<i64>
§home_notional: Option<f64>
§foreign_notional: Option<f64>
§transact_time: Option<DateTime<Utc>>
§timestamp: Option<DateTime<Utc>>
Trait Implementations§
Source§impl Clone for BitmexExecution
impl Clone for BitmexExecution
Source§fn clone(&self) -> BitmexExecution
fn clone(&self) -> BitmexExecution
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 BitmexExecution
impl Debug for BitmexExecution
Source§impl<'de> Deserialize<'de> for BitmexExecution
impl<'de> Deserialize<'de> for BitmexExecution
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 BitmexExecution
impl RefUnwindSafe for BitmexExecution
impl Send for BitmexExecution
impl Sync for BitmexExecution
impl Unpin for BitmexExecution
impl UnwindSafe for BitmexExecution
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