pub struct BlockchainStats {
pub block_count: usize,
pub total_transactions: usize,
pub pending_transactions: usize,
pub difficulty: usize,
pub is_valid: bool,
}Fields§
§block_count: usize§total_transactions: usize§pending_transactions: usize§difficulty: usize§is_valid: boolTrait Implementations§
Source§impl Clone for BlockchainStats
impl Clone for BlockchainStats
Source§fn clone(&self) -> BlockchainStats
fn clone(&self) -> BlockchainStats
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockchainStats
impl Debug for BlockchainStats
Auto Trait Implementations§
impl Freeze for BlockchainStats
impl RefUnwindSafe for BlockchainStats
impl Send for BlockchainStats
impl Sync for BlockchainStats
impl Unpin for BlockchainStats
impl UnwindSafe for BlockchainStats
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)