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: f64executed_qty: f64order_id: u64price: f64qty: f64side: OrderSidesymbol: Stringtime_in_force: TimeInForceupdated_time: u128is_isolated: Option<bool>Trait Implementations
sourceimpl Clone for ForcedLiquidationState
impl Clone for ForcedLiquidationState
sourcefn clone(&self) -> ForcedLiquidationState
fn clone(&self) -> ForcedLiquidationState
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ForcedLiquidationState
impl Debug for ForcedLiquidationState
sourceimpl<'de> Deserialize<'de> for ForcedLiquidationState
impl<'de> Deserialize<'de> for ForcedLiquidationState
sourcefn 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
sourceimpl Serialize for ForcedLiquidationState
impl Serialize for ForcedLiquidationState
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more