Struct solana_runtime::accounts_db::StorageSizeAndCount
source · struct StorageSizeAndCount {
pub stored_size: usize,
pub count: usize,
}
Fields§
§stored_size: usize
§count: usize
Trait Implementations§
source§impl Debug for StorageSizeAndCount
impl Debug for StorageSizeAndCount
source§impl Default for StorageSizeAndCount
impl Default for StorageSizeAndCount
source§fn default() -> StorageSizeAndCount
fn default() -> StorageSizeAndCount
Returns the “default value” for a type. Read more
source§impl PartialEq<StorageSizeAndCount> for StorageSizeAndCount
impl PartialEq<StorageSizeAndCount> for StorageSizeAndCount
source§fn eq(&self, other: &StorageSizeAndCount) -> bool
fn eq(&self, other: &StorageSizeAndCount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StorageSizeAndCount
impl StructuralEq for StorageSizeAndCount
impl StructuralPartialEq for StorageSizeAndCount
Auto Trait Implementations§
impl RefUnwindSafe for StorageSizeAndCount
impl Send for StorageSizeAndCount
impl Sync for StorageSizeAndCount
impl Unpin for StorageSizeAndCount
impl UnwindSafe for StorageSizeAndCount
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.