pub enum DexPoolData {
Swap(PoolSwap),
LiquidityUpdate(PoolLiquidityUpdate),
FeeCollect(PoolFeeCollect),
FeeProtocolUpdate(PoolFeeProtocolUpdate),
FeeProtocolCollect(PoolFeeProtocolCollect),
Flash(PoolFlash),
}Variants§
Swap(PoolSwap)
LiquidityUpdate(PoolLiquidityUpdate)
FeeCollect(PoolFeeCollect)
FeeProtocolUpdate(PoolFeeProtocolUpdate)
FeeProtocolCollect(PoolFeeProtocolCollect)
Flash(PoolFlash)
Implementations§
Source§impl DexPoolData
impl DexPoolData
Sourcepub fn block_number(&self) -> u64
pub fn block_number(&self) -> u64
Returns the block number associated with this pool event.
Sourcepub fn transaction_index(&self) -> u32
pub fn transaction_index(&self) -> u32
Returns the transaction index associated with this pool event.
Trait Implementations§
Source§impl Clone for DexPoolData
impl Clone for DexPoolData
Source§fn clone(&self) -> DexPoolData
fn clone(&self) -> DexPoolData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DexPoolData
impl Debug for DexPoolData
Source§impl PartialEq for DexPoolData
impl PartialEq for DexPoolData
Source§fn eq(&self, other: &DexPoolData) -> bool
fn eq(&self, other: &DexPoolData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DexPoolData
Auto Trait Implementations§
impl Freeze for DexPoolData
impl RefUnwindSafe for DexPoolData
impl Send for DexPoolData
impl Sync for DexPoolData
impl Unpin for DexPoolData
impl UnsafeUnpin for DexPoolData
impl UnwindSafe for DexPoolData
Blanket Implementations§
impl<T> Allocation for T
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