pub struct LedgerStats {
pub total_sessions: usize,
pub total_commits: usize,
pub db_size_bytes: u64,
}Expand description
Ledger statistics (Legacy)
Fields§
§total_sessions: usize§total_commits: usize§db_size_bytes: u64Trait Implementations§
Source§impl Clone for LedgerStats
impl Clone for LedgerStats
Source§fn clone(&self) -> LedgerStats
fn clone(&self) -> LedgerStats
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for LedgerStats
impl RefUnwindSafe for LedgerStats
impl Send for LedgerStats
impl Sync for LedgerStats
impl Unpin for LedgerStats
impl UnwindSafe for LedgerStats
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