pub struct DecreaseLiquidityEvent {
pub token_id: Pubkey,
pub liquidity: u64,
pub amount_0: u64,
pub amount_1: u64,
}Expand description
Emitted when liquidity is decreased for a position NFT
Fields
token_id: PubkeyThe ID of the token for which liquidity was decreased
liquidity: u64The amount by which liquidity for the NFT position was decreased
amount_0: u64The amount of token_0 that was accounted for the decrease in liquidity
amount_1: u64The amount of token_1 that was accounted for the decrease in liquidity
Trait Implementations
sourceimpl BorshDeserialize for DecreaseLiquidityEvent where
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
impl BorshDeserialize for DecreaseLiquidityEvent where
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
sourceimpl BorshSerialize for DecreaseLiquidityEvent where
Pubkey: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for DecreaseLiquidityEvent where
Pubkey: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
sourceimpl Discriminator for DecreaseLiquidityEvent
impl Discriminator for DecreaseLiquidityEvent
fn discriminator() -> [u8; 8]
Auto Trait Implementations
impl RefUnwindSafe for DecreaseLiquidityEvent
impl Send for DecreaseLiquidityEvent
impl Sync for DecreaseLiquidityEvent
impl Unpin for DecreaseLiquidityEvent
impl UnwindSafe for DecreaseLiquidityEvent
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more