pub struct Liquidation<'a> {
pub updated_time: u64,
pub symbol: &'a str,
pub side: &'a str,
pub size: &'a str,
pub price: &'a str,
}Expand description
The liquidation data.
Fields§
§updated_time: u64The updated timestamp (ms).
symbol: &'a strSymbol name.
side: &'a strOrder side. Buy, Sell.
size: &'a strExecuted size.
price: &'a strExecuted price.
Trait Implementations§
Source§impl<'a> Debug for Liquidation<'a>
impl<'a> Debug for Liquidation<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for Liquidation<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Liquidation<'a>
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<'a> Freeze for Liquidation<'a>
impl<'a> RefUnwindSafe for Liquidation<'a>
impl<'a> Send for Liquidation<'a>
impl<'a> Sync for Liquidation<'a>
impl<'a> Unpin for Liquidation<'a>
impl<'a> UnwindSafe for Liquidation<'a>
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