pub enum StakeProgramInstruction {
Show 18 variants
Authorize {
program_id: Pubkey,
data: Authorize,
accounts: AuthorizeInstructionAccounts,
},
AuthorizeChecked {
program_id: Pubkey,
data: AuthorizeChecked,
accounts: AuthorizeCheckedInstructionAccounts,
},
AuthorizeCheckedWithSeed {
program_id: Pubkey,
data: AuthorizeCheckedWithSeed,
accounts: AuthorizeCheckedWithSeedInstructionAccounts,
},
AuthorizeWithSeed {
program_id: Pubkey,
data: AuthorizeWithSeed,
accounts: AuthorizeWithSeedInstructionAccounts,
},
Deactivate {
program_id: Pubkey,
data: Deactivate,
accounts: DeactivateInstructionAccounts,
},
DeactivateDelinquent {
program_id: Pubkey,
data: DeactivateDelinquent,
accounts: DeactivateDelinquentInstructionAccounts,
},
DelegateStake {
program_id: Pubkey,
data: DelegateStake,
accounts: DelegateStakeInstructionAccounts,
},
GetMinimumDelegation {
program_id: Pubkey,
data: GetMinimumDelegation,
accounts: GetMinimumDelegationInstructionAccounts,
},
Initialize {
program_id: Pubkey,
data: Initialize,
accounts: InitializeInstructionAccounts,
},
InitializeChecked {
program_id: Pubkey,
data: InitializeChecked,
accounts: InitializeCheckedInstructionAccounts,
},
Merge {
program_id: Pubkey,
data: Merge,
accounts: MergeInstructionAccounts,
},
MoveLamports {
program_id: Pubkey,
data: MoveLamports,
accounts: MoveLamportsInstructionAccounts,
},
MoveStake {
program_id: Pubkey,
data: MoveStake,
accounts: MoveStakeInstructionAccounts,
},
Redelegate {
program_id: Pubkey,
data: Redelegate,
accounts: RedelegateInstructionAccounts,
},
SetLockup {
program_id: Pubkey,
data: SetLockup,
accounts: SetLockupInstructionAccounts,
},
SetLockupChecked {
program_id: Pubkey,
data: SetLockupChecked,
accounts: SetLockupCheckedInstructionAccounts,
},
Split {
program_id: Pubkey,
data: Split,
accounts: SplitInstructionAccounts,
},
Withdraw {
program_id: Pubkey,
data: Withdraw,
accounts: WithdrawInstructionAccounts,
},
}Variants§
Authorize
AuthorizeChecked
AuthorizeCheckedWithSeed
Fields
AuthorizeWithSeed
Deactivate
DeactivateDelinquent
DelegateStake
GetMinimumDelegation
Initialize
InitializeChecked
Merge
MoveLamports
MoveStake
Redelegate
SetLockup
SetLockupChecked
Split
Withdraw
Trait Implementations§
Source§impl Clone for StakeProgramInstruction
impl Clone for StakeProgramInstruction
Source§impl Debug for StakeProgramInstruction
impl Debug for StakeProgramInstruction
Source§impl PartialEq for StakeProgramInstruction
impl PartialEq for StakeProgramInstruction
impl StructuralPartialEq for StakeProgramInstruction
Auto Trait Implementations§
impl Freeze for StakeProgramInstruction
impl RefUnwindSafe for StakeProgramInstruction
impl Send for StakeProgramInstruction
impl Sync for StakeProgramInstruction
impl Unpin for StakeProgramInstruction
impl UnsafeUnpin for StakeProgramInstruction
impl UnwindSafe for StakeProgramInstruction
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