pub struct Order {Show 18 fields
pub order_id: String,
pub symbol_id: u32,
pub client_order_id: String,
pub side: String,
pub status: String,
pub order_type: String,
pub tif: String,
pub orig_qty: Option<Quantity>,
pub cum_qty: Option<Quantity>,
pub leaves_qty: Option<Quantity>,
pub price: Option<Price>,
pub avg_px: Option<Price>,
pub created_ts_ns: String,
pub version: u32,
pub post_only: bool,
pub fee_asset: String,
pub submitted_max_quote_debit_scaled: Option<i64>,
pub attached_risk: Option<AttachedRisk>,
}Fields§
§order_id: String§symbol_id: u32§client_order_id: String§side: String§status: String§order_type: String§tif: String§orig_qty: Option<Quantity>§cum_qty: Option<Quantity>§leaves_qty: Option<Quantity>§price: Option<Price>§avg_px: Option<Price>§created_ts_ns: String§version: u32§post_only: bool§fee_asset: StringAsset selected to pay fees: quote, base, or an
UNKNOWN(<number>) forward-compatible enum value.
submitted_max_quote_debit_scaled: Option<i64>Hard all-in quote debit submitted with quote-budget sizing, when used.
attached_risk: Option<AttachedRisk>Attached risk policy when requested via include_attached_risk.
Trait Implementations§
impl Eq for Order
impl StructuralPartialEq for Order
Auto Trait Implementations§
impl Freeze for Order
impl RefUnwindSafe for Order
impl Send for Order
impl Sync for Order
impl Unpin for Order
impl UnsafeUnpin for Order
impl UnwindSafe for Order
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.