[−][src]Struct lobster::FillMetadata
Information on a single order fill. When an order is matched with multiple
resting orders, it generates multiple FillMetadata
values.
Fields
order_1: u128
The ID of the order that triggered the fill (taker).
order_2: u128
The ID of the matching order.
qty: u64
The quantity that was traded.
price: u64
The price at which the trade happened.
taker_side: Side
The side of the taker order (order 1)
total_fill: bool
Whether this order was a total (true) or partial (false) fill of the maker order.
Trait Implementations
impl Clone for FillMetadata
[src]
fn clone(&self) -> FillMetadata
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FillMetadata
[src]
impl Debug for FillMetadata
[src]
impl PartialEq<FillMetadata> for FillMetadata
[src]
fn eq(&self, other: &FillMetadata) -> bool
[src]
fn ne(&self, other: &FillMetadata) -> bool
[src]
impl StructuralPartialEq for FillMetadata
[src]
Auto Trait Implementations
impl RefUnwindSafe for FillMetadata
impl Send for FillMetadata
impl Sync for FillMetadata
impl Unpin for FillMetadata
impl UnwindSafe for FillMetadata
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,