pub struct AllLiquidationSnapshotMsg {
pub time: Timestamp,
pub symbol: String,
pub side: Side,
pub size: Decimal,
pub price: Decimal,
}Fields§
§time: Timestamp§symbol: String§side: SideWhen you receive a Buy update, this means that a long position has been liquidated
size: Decimal§price: DecimalTrait Implementations§
Source§impl Debug for AllLiquidationSnapshotMsg
impl Debug for AllLiquidationSnapshotMsg
Source§impl<'de> Deserialize<'de> for AllLiquidationSnapshotMsg
impl<'de> Deserialize<'de> for AllLiquidationSnapshotMsg
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
Source§impl PartialEq for AllLiquidationSnapshotMsg
impl PartialEq for AllLiquidationSnapshotMsg
Source§fn eq(&self, other: &AllLiquidationSnapshotMsg) -> bool
fn eq(&self, other: &AllLiquidationSnapshotMsg) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AllLiquidationSnapshotMsg
Auto Trait Implementations§
impl Freeze for AllLiquidationSnapshotMsg
impl RefUnwindSafe for AllLiquidationSnapshotMsg
impl Send for AllLiquidationSnapshotMsg
impl Sync for AllLiquidationSnapshotMsg
impl Unpin for AllLiquidationSnapshotMsg
impl UnsafeUnpin for AllLiquidationSnapshotMsg
impl UnwindSafe for AllLiquidationSnapshotMsg
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