pub struct AccountFromStorage {
pub index_info: AccountInfo,
pub data_len: u64,
pub pubkey: Pubkey,
}
Expand description
reference an account found during scanning a storage. This is a byval struct to replace
StoredAccountMeta
Fields§
§index_info: AccountInfo
§data_len: u64
§pubkey: Pubkey
Implementations§
Trait Implementations§
Source§impl Clone for AccountFromStorage
impl Clone for AccountFromStorage
Source§fn clone(&self) -> AccountFromStorage
fn clone(&self) -> AccountFromStorage
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AccountFromStorage
impl Debug for AccountFromStorage
Source§impl PartialEq for AccountFromStorage
impl PartialEq for AccountFromStorage
Source§impl ZeroLamport for AccountFromStorage
impl ZeroLamport for AccountFromStorage
fn is_zero_lamport(&self) -> bool
impl Copy for AccountFromStorage
impl StructuralPartialEq for AccountFromStorage
Auto Trait Implementations§
impl Freeze for AccountFromStorage
impl RefUnwindSafe for AccountFromStorage
impl Send for AccountFromStorage
impl Sync for AccountFromStorage
impl Unpin for AccountFromStorage
impl UnwindSafe for AccountFromStorage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more