Struct LiquidationEvent
pub struct LiquidationEvent {
pub venue_id: VenueId,
pub instrument_id: InstrumentId,
pub side: Side,
pub price: Price,
pub qty: Qty,
}Expand description
Observed liquidation event from a venue.
Fields§
§venue_id: VenueId§instrument_id: InstrumentId§side: Side§price: Price§qty: QtyTrait Implementations§
§impl Clone for LiquidationEvent
impl Clone for LiquidationEvent
§fn clone(&self) -> LiquidationEvent
fn clone(&self) -> LiquidationEvent
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for LiquidationEvent
impl Debug for LiquidationEvent
§impl<'de> Deserialize<'de> for LiquidationEvent
impl<'de> Deserialize<'de> for LiquidationEvent
§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 PartialEq for LiquidationEvent
impl PartialEq for LiquidationEvent
§impl Serialize for LiquidationEvent
impl Serialize for LiquidationEvent
impl Eq for LiquidationEvent
impl StructuralPartialEq for LiquidationEvent
Auto Trait Implementations§
impl Freeze for LiquidationEvent
impl RefUnwindSafe for LiquidationEvent
impl Send for LiquidationEvent
impl Sync for LiquidationEvent
impl Unpin for LiquidationEvent
impl UnsafeUnpin for LiquidationEvent
impl UnwindSafe for LiquidationEvent
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)