Struct solana_sdk::keyed_account::KeyedAccount [−][src]
#[repr(C)]pub struct KeyedAccount<'a> { pub account: &'a RefCell<AccountSharedData>, // some fields omitted }
Fields
account: &'a RefCell<AccountSharedData>
Implementations
pub fn try_account_ref_mut(
&'a self
) -> Result<RefMut<'_, AccountSharedData>, InstructionError>
pub fn new_readonly(
key: &'a Pubkey,
is_signer: bool,
account: &'a RefCell<AccountSharedData>
) -> Self
Trait Implementations
fn advance_nonce_account(
&self,
recent_blockhashes: &RecentBlockhashes,
signers: &HashSet<Pubkey>,
invoke_context: &mut dyn InvokeContext
) -> Result<(), InstructionError>
fn withdraw_nonce_account(
&self,
lamports: u64,
to: &KeyedAccount<'_>,
recent_blockhashes: &RecentBlockhashes,
rent: &Rent,
signers: &HashSet<Pubkey>,
invoke_context: &mut dyn InvokeContext
) -> Result<(), InstructionError>
fn initialize_nonce_account(
&self,
nonce_authority: &Pubkey,
recent_blockhashes: &RecentBlockhashes,
rent: &Rent,
invoke_context: &mut dyn InvokeContext
) -> Result<(), InstructionError>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for KeyedAccount<'a>
impl<'a> !Send for KeyedAccount<'a>
impl<'a> !Sync for KeyedAccount<'a>
impl<'a> Unpin for KeyedAccount<'a>
impl<'a> !UnwindSafe for KeyedAccount<'a>