Struct solana_runtime::append_vec::StoredAccountMeta [−][src]
pub struct StoredAccountMeta<'a> { pub meta: &'a StoredMeta, pub account_meta: &'a AccountMeta, pub data: &'a [u8], pub offset: usize, pub stored_size: usize, pub hash: &'a Hash, }
Expand description
References to account data stored elsewhere. Getting an Account
requires cloning
(see StoredAccountMeta::clone_account()
).
Fields
meta: &'a StoredMeta
account_meta: &'a AccountMeta
account data
data: &'a [u8]
offset: usize
stored_size: usize
hash: &'a Hash
Implementations
Return a new Account by copying all the data referenced by the StoredAccountMeta
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for StoredAccountMeta<'a>
impl<'a> Send for StoredAccountMeta<'a>
impl<'a> Sync for StoredAccountMeta<'a>
impl<'a> Unpin for StoredAccountMeta<'a>
impl<'a> UnwindSafe for StoredAccountMeta<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self