pub enum EventView {
Fill {
side: Side,
maker: bool,
native_qty_paid: u64,
native_qty_received: u64,
native_fee_or_rebate: u64,
order_id: u128,
owner: [u64; 4],
owner_slot: u8,
fee_tier: FeeTier,
client_order_id: Option<NonZeroU64>,
},
Out {
side: Side,
release_funds: bool,
native_qty_unlocked: u64,
native_qty_still_locked: u64,
order_id: u128,
owner: [u64; 4],
owner_slot: u8,
client_order_id: Option<NonZeroU64>,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventView
impl RefUnwindSafe for EventView
impl Send for EventView
impl Sync for EventView
impl Unpin for EventView
impl UnwindSafe for EventView
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more