pub struct AllLiquidationSnapshotMsg {
pub time: Timestamp,
pub symbol: String,
pub side: Side,
pub size: Decimal,
pub price: Decimal,
}Expand description
A liquidation.
Fields§
§time: TimestampUpdate time, milliseconds.
symbol: StringSymbol name.
side: SideWhen you receive a Buy update, this means that a long position has been liquidated
size: DecimalLiquidated size.
price: DecimalBankruptcy price.
Trait 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
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