pub enum SystemProgramInstruction {
Show 13 variants
AdvanceNonceAccount {
program_id: Pubkey,
data: AdvanceNonceAccount,
accounts: AdvanceNonceAccountInstructionAccounts,
},
Allocate {
program_id: Pubkey,
data: Allocate,
accounts: AllocateInstructionAccounts,
},
AllocateWithSeed {
program_id: Pubkey,
data: AllocateWithSeed,
accounts: AllocateWithSeedInstructionAccounts,
},
Assign {
program_id: Pubkey,
data: Assign,
accounts: AssignInstructionAccounts,
},
AssignWithSeed {
program_id: Pubkey,
data: AssignWithSeed,
accounts: AssignWithSeedInstructionAccounts,
},
AuthorizeNonceAccount {
program_id: Pubkey,
data: AuthorizeNonceAccount,
accounts: AuthorizeNonceAccountInstructionAccounts,
},
CreateAccount {
program_id: Pubkey,
data: CreateAccount,
accounts: CreateAccountInstructionAccounts,
},
CreateAccountWithSeed {
program_id: Pubkey,
data: CreateAccountWithSeed,
accounts: CreateAccountWithSeedInstructionAccounts,
},
InitializeNonceAccount {
program_id: Pubkey,
data: InitializeNonceAccount,
accounts: InitializeNonceAccountInstructionAccounts,
},
TransferSol {
program_id: Pubkey,
data: TransferSol,
accounts: TransferSolInstructionAccounts,
},
TransferSolWithSeed {
program_id: Pubkey,
data: TransferSolWithSeed,
accounts: TransferSolWithSeedInstructionAccounts,
},
UpgradeNonceAccount {
program_id: Pubkey,
data: UpgradeNonceAccount,
accounts: UpgradeNonceAccountInstructionAccounts,
},
WithdrawNonceAccount {
program_id: Pubkey,
data: WithdrawNonceAccount,
accounts: WithdrawNonceAccountInstructionAccounts,
},
}Variants§
AdvanceNonceAccount
Allocate
AllocateWithSeed
Assign
AssignWithSeed
AuthorizeNonceAccount
Fields
§
data: AuthorizeNonceAccountCreateAccount
CreateAccountWithSeed
Fields
§
data: CreateAccountWithSeedInitializeNonceAccount
Fields
§
data: InitializeNonceAccountTransferSol
TransferSolWithSeed
UpgradeNonceAccount
WithdrawNonceAccount
Trait Implementations§
Source§impl Clone for SystemProgramInstruction
impl Clone for SystemProgramInstruction
Source§fn clone(&self) -> SystemProgramInstruction
fn clone(&self) -> SystemProgramInstruction
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 SystemProgramInstruction
impl Debug for SystemProgramInstruction
Source§impl PartialEq for SystemProgramInstruction
impl PartialEq for SystemProgramInstruction
impl StructuralPartialEq for SystemProgramInstruction
Auto Trait Implementations§
impl Freeze for SystemProgramInstruction
impl RefUnwindSafe for SystemProgramInstruction
impl Send for SystemProgramInstruction
impl Sync for SystemProgramInstruction
impl Unpin for SystemProgramInstruction
impl UnsafeUnpin for SystemProgramInstruction
impl UnwindSafe for SystemProgramInstruction
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