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
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>
Blanket Implementations
Mutably borrows from an owned value. Read more