[−][src]Trait solana_stake_api::stake_state::StakeAccount
Required methods
fn delegate_stake(
&mut self,
vote_account: &KeyedAccount,
stake: u64,
clock: &Clock
) -> Result<(), InstructionError>
&mut self,
vote_account: &KeyedAccount,
stake: u64,
clock: &Clock
) -> Result<(), InstructionError>
fn deactivate_stake(&mut self, clock: &Clock) -> Result<(), InstructionError>
fn redeem_vote_credits(
&mut self,
vote_account: &mut KeyedAccount,
rewards_account: &mut KeyedAccount,
rewards: &Rewards
) -> Result<(), InstructionError>
&mut self,
vote_account: &mut KeyedAccount,
rewards_account: &mut KeyedAccount,
rewards: &Rewards
) -> Result<(), InstructionError>
fn withdraw(
&mut self,
lamports: u64,
to: &mut KeyedAccount,
clock: &Clock
) -> Result<(), InstructionError>
&mut self,
lamports: u64,
to: &mut KeyedAccount,
clock: &Clock
) -> Result<(), InstructionError>
Implementations on Foreign Types
impl<'a> StakeAccount for KeyedAccount<'a>
[src]
fn delegate_stake(
&mut self,
vote_account: &KeyedAccount,
new_stake: u64,
clock: &Clock
) -> Result<(), InstructionError>
[src]
&mut self,
vote_account: &KeyedAccount,
new_stake: u64,
clock: &Clock
) -> Result<(), InstructionError>
fn deactivate_stake(&mut self, clock: &Clock) -> Result<(), InstructionError>
[src]
fn redeem_vote_credits(
&mut self,
vote_account: &mut KeyedAccount,
rewards_account: &mut KeyedAccount,
rewards: &Rewards
) -> Result<(), InstructionError>
[src]
&mut self,
vote_account: &mut KeyedAccount,
rewards_account: &mut KeyedAccount,
rewards: &Rewards
) -> Result<(), InstructionError>
fn withdraw(
&mut self,
lamports: u64,
to: &mut KeyedAccount,
clock: &Clock
) -> Result<(), InstructionError>
[src]
&mut self,
lamports: u64,
to: &mut KeyedAccount,
clock: &Clock
) -> Result<(), InstructionError>