Struct solana_runtime::accounts_db::PubkeyHashAccount
source · pub struct PubkeyHashAccount {
pub pubkey: Pubkey,
pub hash: Hash,
pub account: AccountSharedData,
}
Fields§
§pubkey: Pubkey
§hash: Hash
§account: AccountSharedData
Trait Implementations§
source§impl Clone for PubkeyHashAccount
impl Clone for PubkeyHashAccount
source§fn clone(&self) -> PubkeyHashAccount
fn clone(&self) -> PubkeyHashAccount
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 PubkeyHashAccount
impl Debug for PubkeyHashAccount
source§impl PartialEq for PubkeyHashAccount
impl PartialEq for PubkeyHashAccount
source§fn eq(&self, other: &PubkeyHashAccount) -> bool
fn eq(&self, other: &PubkeyHashAccount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PubkeyHashAccount
impl StructuralEq for PubkeyHashAccount
impl StructuralPartialEq for PubkeyHashAccount
Auto Trait Implementations§
impl RefUnwindSafe for PubkeyHashAccount
impl Send for PubkeyHashAccount
impl Sync for PubkeyHashAccount
impl Unpin for PubkeyHashAccount
impl UnwindSafe for PubkeyHashAccount
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.