pub enum VirtualsInstruction {
Buy(Buy),
ClaimFees(ClaimFees),
CreateMeteoraPool(CreateMeteoraPool),
Initialize(Initialize),
InitializeMeteoraAccounts(InitializeMeteoraAccounts),
Launch(Launch),
Sell(Sell),
UpdatePoolCreator(UpdatePoolCreator),
BuyEvent(BuyEvent),
GraduationEvent(GraduationEvent),
LaunchEvent(LaunchEvent),
SellEvent(SellEvent),
}Variants§
Buy(Buy)
ClaimFees(ClaimFees)
CreateMeteoraPool(CreateMeteoraPool)
Initialize(Initialize)
InitializeMeteoraAccounts(InitializeMeteoraAccounts)
Launch(Launch)
Sell(Sell)
UpdatePoolCreator(UpdatePoolCreator)
BuyEvent(BuyEvent)
GraduationEvent(GraduationEvent)
LaunchEvent(LaunchEvent)
SellEvent(SellEvent)
Implementations§
Source§impl VirtualsInstruction
impl VirtualsInstruction
pub fn get_instruction_type(&self) -> VirtualsInstructionType
Trait Implementations§
Source§impl Clone for VirtualsInstruction
impl Clone for VirtualsInstruction
Source§fn clone(&self) -> VirtualsInstruction
fn clone(&self) -> VirtualsInstruction
Returns a duplicate of the value. Read more
1.0.0 · 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 VirtualsInstruction
impl Debug for VirtualsInstruction
Source§impl<'de> Deserialize<'de> for VirtualsInstruction
impl<'de> Deserialize<'de> for VirtualsInstruction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for VirtualsInstruction
impl Hash for VirtualsInstruction
Source§impl PartialEq for VirtualsInstruction
impl PartialEq for VirtualsInstruction
Source§impl Serialize for VirtualsInstruction
impl Serialize for VirtualsInstruction
impl Eq for VirtualsInstruction
impl StructuralPartialEq for VirtualsInstruction
Auto Trait Implementations§
impl Freeze for VirtualsInstruction
impl RefUnwindSafe for VirtualsInstruction
impl Send for VirtualsInstruction
impl Sync for VirtualsInstruction
impl Unpin for VirtualsInstruction
impl UnwindSafe for VirtualsInstruction
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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