pub struct MarginOrderResult {Show 13 fields
pub symbol: String,
pub order_id: u64,
pub client_order_id: String,
pub transact_time: u64,
pub price: f64,
pub orig_qty: f64,
pub executed_qty: f64,
pub cummulative_quote_qty: f64,
pub status: OrderStatus,
pub time_in_force: TimeInForce,
pub order_type: OrderType,
pub side: OrderSide,
pub is_isolated: Option<bool>,
}Expand description
Margin order result.
Fields§
§symbol: StringSymbol.
order_id: u64Order ID.
client_order_id: StringClient order ID.
transact_time: u64Transaction time.
price: f64Price.
orig_qty: f64Original quantity.
executed_qty: f64Executed quantity.
cummulative_quote_qty: f64Cumulative quote quantity.
status: OrderStatusOrder status.
time_in_force: TimeInForceTime in force.
order_type: OrderTypeOrder type.
side: OrderSideOrder side.
is_isolated: Option<bool>Whether this is isolated margin.
Trait Implementations§
Source§impl Clone for MarginOrderResult
impl Clone for MarginOrderResult
Source§fn clone(&self) -> MarginOrderResult
fn clone(&self) -> MarginOrderResult
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 MarginOrderResult
impl Debug for MarginOrderResult
Source§impl<'de> Deserialize<'de> for MarginOrderResult
impl<'de> Deserialize<'de> for MarginOrderResult
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 MarginOrderResult
impl RefUnwindSafe for MarginOrderResult
impl Send for MarginOrderResult
impl Sync for MarginOrderResult
impl Unpin for MarginOrderResult
impl UnwindSafe for MarginOrderResult
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