pub struct MempoolStats {
pub txs: u64,
pub bytes: u64,
pub total_fee: u64,
}Expand description
Aggregate mempool counters surfaced through the JSON-RPC getmempoolinfo
and Electrum mempool.get_fee_histogram surfaces.
Fields§
§txs: u64Number of transactions in the mempool.
bytes: u64Sum of virtual sizes in vbytes.
total_fee: u64Sum of base fees in satoshis.
Trait Implementations§
Source§impl Clone for MempoolStats
impl Clone for MempoolStats
Source§fn clone(&self) -> MempoolStats
fn clone(&self) -> MempoolStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MempoolStats
Source§impl Debug for MempoolStats
impl Debug for MempoolStats
Source§impl Default for MempoolStats
impl Default for MempoolStats
Source§fn default() -> MempoolStats
fn default() -> MempoolStats
Returns the “default value” for a type. Read more
impl Eq for MempoolStats
Source§impl PartialEq for MempoolStats
impl PartialEq for MempoolStats
Source§fn eq(&self, other: &MempoolStats) -> bool
fn eq(&self, other: &MempoolStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MempoolStats
Auto Trait Implementations§
impl Freeze for MempoolStats
impl RefUnwindSafe for MempoolStats
impl Send for MempoolStats
impl Sync for MempoolStats
impl Unpin for MempoolStats
impl UnsafeUnpin for MempoolStats
impl UnwindSafe for MempoolStats
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