pub enum AccountsHashEnum {
Full(AccountsHash),
Incremental(IncrementalAccountsHash),
}
Expand description
Hash of accounts
Variants§
Full(AccountsHash)
Incremental(IncrementalAccountsHash)
Implementations§
Trait Implementations§
source§impl Clone for AccountsHashEnum
impl Clone for AccountsHashEnum
source§fn clone(&self) -> AccountsHashEnum
fn clone(&self) -> AccountsHashEnum
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 AccountsHashEnum
impl Debug for AccountsHashEnum
source§impl From<AccountsHash> for AccountsHashEnum
impl From<AccountsHash> for AccountsHashEnum
source§fn from(accounts_hash: AccountsHash) -> Self
fn from(accounts_hash: AccountsHash) -> Self
Converts to this type from the input type.
source§impl From<IncrementalAccountsHash> for AccountsHashEnum
impl From<IncrementalAccountsHash> for AccountsHashEnum
source§fn from(incremental_accounts_hash: IncrementalAccountsHash) -> Self
fn from(incremental_accounts_hash: IncrementalAccountsHash) -> Self
Converts to this type from the input type.
source§impl PartialEq<AccountsHashEnum> for AccountsHashEnum
impl PartialEq<AccountsHashEnum> for AccountsHashEnum
source§fn eq(&self, other: &AccountsHashEnum) -> bool
fn eq(&self, other: &AccountsHashEnum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AccountsHashEnum
impl Eq for AccountsHashEnum
impl StructuralEq for AccountsHashEnum
impl StructuralPartialEq for AccountsHashEnum
Auto Trait Implementations§
impl RefUnwindSafe for AccountsHashEnum
impl Send for AccountsHashEnum
impl Sync for AccountsHashEnum
impl Unpin for AccountsHashEnum
impl UnwindSafe for AccountsHashEnum
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.