pub enum VirtualsInstruction {
Buy {
program_id: Pubkey,
data: Buy,
accounts: BuyInstructionAccounts,
},
ClaimFees {
program_id: Pubkey,
data: ClaimFees,
accounts: ClaimFeesInstructionAccounts,
},
CreateMeteoraPool {
program_id: Pubkey,
data: CreateMeteoraPool,
accounts: CreateMeteoraPoolInstructionAccounts,
},
Initialize {
program_id: Pubkey,
data: Initialize,
accounts: InitializeInstructionAccounts,
},
InitializeMeteoraAccounts {
program_id: Pubkey,
data: InitializeMeteoraAccounts,
accounts: InitializeMeteoraAccountsInstructionAccounts,
},
Launch {
program_id: Pubkey,
data: Launch,
accounts: LaunchInstructionAccounts,
},
Sell {
program_id: Pubkey,
data: Sell,
accounts: SellInstructionAccounts,
},
UpdatePoolCreator {
program_id: Pubkey,
data: UpdatePoolCreator,
accounts: UpdatePoolCreatorInstructionAccounts,
},
CpiEvent {
program_id: Pubkey,
data: CpiEvent,
accounts: CpiEventInstructionAccounts,
},
}Variants§
Buy
ClaimFees
CreateMeteoraPool
Initialize
InitializeMeteoraAccounts
Fields
Launch
Sell
UpdatePoolCreator
CpiEvent
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 (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 VirtualsInstruction
impl Debug for VirtualsInstruction
Source§impl PartialEq for VirtualsInstruction
impl PartialEq 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 UnsafeUnpin 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