pub struct BitmexOrder {Show 30 fields
pub order_id: 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 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 ord_type: Option<BitmexOrderType>,
pub time_in_force: Option<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 multi_leg_reporting_type: Option<Ustr>,
pub text: Option<Ustr>,
pub transact_time: Option<DateTime<Utc>>,
pub timestamp: Option<DateTime<Utc>>,
}
Expand description
Placement, Cancellation, Amending, and History.
Fields§
§order_id: Uuid
§cl_ord_id: Option<Ustr>
§cl_ord_link_id: Option<Ustr>
§account: i64
§symbol: Option<Ustr>
§side: Option<BitmexSide>
§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>
§ord_type: Option<BitmexOrderType>
§time_in_force: Option<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>
§multi_leg_reporting_type: Option<Ustr>
§text: Option<Ustr>
§transact_time: Option<DateTime<Utc>>
§timestamp: Option<DateTime<Utc>>
Trait Implementations§
Source§impl Clone for BitmexOrder
impl Clone for BitmexOrder
Source§fn clone(&self) -> BitmexOrder
fn clone(&self) -> BitmexOrder
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 BitmexOrder
impl Debug for BitmexOrder
Source§impl<'de> Deserialize<'de> for BitmexOrder
impl<'de> Deserialize<'de> for BitmexOrder
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 BitmexOrder
impl RefUnwindSafe for BitmexOrder
impl Send for BitmexOrder
impl Sync for BitmexOrder
impl Unpin for BitmexOrder
impl UnwindSafe for BitmexOrder
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