#[repr(u8)]pub enum InstructionType {
Show 17 variants
RaydiumAmmV4Swap = 0,
RaydiumCpmmSwap = 1,
RaydiumLaunchpadSwap = 2,
PumpswapSwap = 3,
PfBondingCurveSwap = 4,
Link = 5,
MeteoraDammV2Swap = 6,
MeteoraDbcSwap = 7,
MeteoraAmmSwap = 8,
RaydiumAmmV4AddLiquidity = 9,
RaydiumAmmV4RemoveLiquidity = 10,
RaydiumCpmmAddLiquidity = 11,
RaydiumCpmmRemoveLiquidity = 12,
PumpswapAddLiquidity = 13,
PumpswapRemoveLiquidity = 14,
PfBondingCurveCreate = 15,
None = 16,
}Expand description
Enumeration of all supported instruction types. Represents the different types of instructions that can be classified and processed. Includes swaps from various protocols, token creations, and liquidity operations.
Variants§
RaydiumAmmV4Swap = 0
RaydiumCpmmSwap = 1
RaydiumLaunchpadSwap = 2
PumpswapSwap = 3
PfBondingCurveSwap = 4
Link = 5
MeteoraDammV2Swap = 6
MeteoraDbcSwap = 7
MeteoraAmmSwap = 8
RaydiumAmmV4AddLiquidity = 9
RaydiumAmmV4RemoveLiquidity = 10
RaydiumCpmmAddLiquidity = 11
RaydiumCpmmRemoveLiquidity = 12
PumpswapAddLiquidity = 13
PumpswapRemoveLiquidity = 14
PfBondingCurveCreate = 15
None = 16
Trait Implementations§
Source§impl Debug for InstructionType
impl Debug for InstructionType
Source§impl PartialEq for InstructionType
impl PartialEq for InstructionType
impl Eq for InstructionType
impl StructuralPartialEq for InstructionType
Auto Trait Implementations§
impl Freeze for InstructionType
impl RefUnwindSafe for InstructionType
impl Send for InstructionType
impl Sync for InstructionType
impl Unpin for InstructionType
impl UnwindSafe for InstructionType
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request