Struct binance::rest_model::ForcedLiquidationState
source · pub struct ForcedLiquidationState {
pub avg_price: f64,
pub executed_qty: f64,
pub order_id: u64,
pub price: f64,
pub qty: f64,
pub side: OrderSide,
pub symbol: String,
pub time_in_force: TimeInForce,
pub updated_time: u128,
pub is_isolated: Option<bool>,
}
Fields§
§avg_price: f64
§executed_qty: f64
§order_id: u64
§price: f64
§qty: f64
§side: OrderSide
§symbol: String
§time_in_force: TimeInForce
§updated_time: u128
§is_isolated: Option<bool>
Trait Implementations§
source§impl Clone for ForcedLiquidationState
impl Clone for ForcedLiquidationState
source§fn clone(&self) -> ForcedLiquidationState
fn clone(&self) -> ForcedLiquidationState
Returns a copy 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 ForcedLiquidationState
impl Debug for ForcedLiquidationState
source§impl<'de> Deserialize<'de> for ForcedLiquidationState
impl<'de> Deserialize<'de> for ForcedLiquidationState
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 RefUnwindSafe for ForcedLiquidationState
impl Send for ForcedLiquidationState
impl Sync for ForcedLiquidationState
impl Unpin for ForcedLiquidationState
impl UnwindSafe for ForcedLiquidationState
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