[][src]Struct solana_runtime::accounts_db::BankHashStats

pub struct BankHashStats {
    pub num_removed_accounts: u64,
    pub num_added_accounts: u64,
    pub num_lamports_stored: u64,
    pub total_data_len: u64,
    pub num_executable_accounts: u64,
}

Fields

num_removed_accounts: u64num_added_accounts: u64num_lamports_stored: u64total_data_len: u64num_executable_accounts: u64

Methods

impl BankHashStats[src]

pub fn update(&mut self, account: &Account)[src]

pub fn merge(&mut self, other: &BankHashStats)[src]

Trait Implementations

impl Clone for BankHashStats[src]

impl Debug for BankHashStats[src]

impl Default for BankHashStats[src]

impl<'de> Deserialize<'de> for BankHashStats[src]

impl PartialEq<BankHashStats> for BankHashStats[src]

impl Serialize for BankHashStats[src]

impl StructuralPartialEq for BankHashStats[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Clear for T where
    T: InitializableFromZeroed + ?Sized

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> InitializableFromZeroed for T where
    T: Default

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,