Struct solana_accounts_db::accounts_hash::AccountHash
source · #[repr(transparent)]pub struct AccountHash(pub Hash);
Expand description
Hash of an account
Tuple Fields§
§0: Hash
Trait Implementations§
source§impl AbiExample for AccountHash
impl AbiExample for AccountHash
source§impl Clone for AccountHash
impl Clone for AccountHash
source§fn clone(&self) -> AccountHash
fn clone(&self) -> AccountHash
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 AccountHash
impl Debug for AccountHash
source§impl PartialEq for AccountHash
impl PartialEq for AccountHash
source§fn eq(&self, other: &AccountHash) -> bool
fn eq(&self, other: &AccountHash) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AccountHash
impl Eq for AccountHash
impl Pod for AccountHash
impl StructuralPartialEq for AccountHash
Auto Trait Implementations§
impl RefUnwindSafe for AccountHash
impl Send for AccountHash
impl Sync for AccountHash
impl Unpin for AccountHash
impl UnwindSafe for AccountHash
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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.§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.