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, }
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
impl<'a> StoredAccountMeta<'a>
[src]
impl<'a> StoredAccountMeta<'a>
[src]pub fn clone_account(&self) -> AccountSharedData
[src]
pub fn clone_account(&self) -> AccountSharedData
[src]Return a new Account by copying all the data referenced by the StoredAccountMeta
.
Trait Implementations
impl<'a> Debug for StoredAccountMeta<'a>
[src]
impl<'a> Debug for StoredAccountMeta<'a>
[src]impl<'a> PartialEq<StoredAccountMeta<'a>> for StoredAccountMeta<'a>
[src]
impl<'a> PartialEq<StoredAccountMeta<'a>> for StoredAccountMeta<'a>
[src]fn eq(&self, other: &StoredAccountMeta<'a>) -> bool
[src]
fn eq(&self, other: &StoredAccountMeta<'a>) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &StoredAccountMeta<'a>) -> bool
[src]
fn ne(&self, other: &StoredAccountMeta<'a>) -> bool
[src]This method tests for !=
.
impl<'a> StructuralPartialEq for StoredAccountMeta<'a>
[src]
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
impl<T> AbiExample for T
[src]
impl<T> AbiExample for T
[src]impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,