#[repr(align(16))]pub struct ParsedLiquidationOrder {
pub symbol: String,
pub side: String,
pub price: Decimal,
pub quantity: Decimal,
pub trade_time: u64,
pub event_time: u64,
}Expand description
Parsed liquidation order data with Decimal values
Fields§
§symbol: StringSymbol
side: StringSide (Buy or Sell)
price: DecimalPrice
quantity: DecimalQuantity
trade_time: u64Trade timestamp
event_time: u64Event timestamp (when message was generated)
Trait Implementations§
Source§impl Clone for ParsedLiquidationOrder
impl Clone for ParsedLiquidationOrder
Source§fn clone(&self) -> ParsedLiquidationOrder
fn clone(&self) -> ParsedLiquidationOrder
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsedLiquidationOrder
impl Debug for ParsedLiquidationOrder
Source§impl From<LiquidationOrderMessage> for ParsedLiquidationOrder
impl From<LiquidationOrderMessage> for ParsedLiquidationOrder
Source§fn from(msg: LiquidationOrderMessage) -> Self
fn from(msg: LiquidationOrderMessage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParsedLiquidationOrder
impl RefUnwindSafe for ParsedLiquidationOrder
impl Send for ParsedLiquidationOrder
impl Sync for ParsedLiquidationOrder
impl Unpin for ParsedLiquidationOrder
impl UnwindSafe for ParsedLiquidationOrder
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