pub struct LiquidationOrder {
pub symbol: String,
pub side: String,
pub order_type: String,
pub time_in_force: String,
pub quantity: String,
pub price: String,
pub avg_price: String,
pub status: String,
pub last_filled_quantity: String,
pub last_filled_price: String,
pub filled_accumulated_quantity: String,
pub trade_time: u64,
}Expand description
Liquidation order data
Fields§
§symbol: StringSymbol
side: StringSide (“BUY” or “SELL”)
order_type: StringOrder type
time_in_force: StringTime in force
quantity: StringOriginal quantity
price: StringPrice
avg_price: StringAverage price
status: StringOrder status
last_filled_quantity: StringLast filled quantity
last_filled_price: StringOrder last filled price
filled_accumulated_quantity: StringOrder filled accumulated quantity
trade_time: u64Order trade time
Trait Implementations§
Source§impl Clone for LiquidationOrder
impl Clone for LiquidationOrder
Source§fn clone(&self) -> LiquidationOrder
fn clone(&self) -> LiquidationOrder
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LiquidationOrder
impl Debug for LiquidationOrder
Source§impl<'de> Deserialize<'de> for LiquidationOrder
impl<'de> Deserialize<'de> for LiquidationOrder
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 LiquidationOrder
impl RefUnwindSafe for LiquidationOrder
impl Send for LiquidationOrder
impl Sync for LiquidationOrder
impl Unpin for LiquidationOrder
impl UnwindSafe for LiquidationOrder
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