pub struct MempoolSizeAndCapacity {
pub bytes: NumberOfBytes,
pub transactions: u64,
pub max_bytes: NumberOfBytes,
pub max_transactions: u64,
}Expand description
Mempool size and capacity.
Fields§
§bytes: NumberOfBytesCurrent number of bytes in the mempool.
transactions: u64Current number of transactions in the mempool.
max_bytes: NumberOfBytesMaximum capacity in bytes.
max_transactions: u64Maximum number of transactions.
Trait Implementations§
Source§impl Clone for MempoolSizeAndCapacity
impl Clone for MempoolSizeAndCapacity
Source§impl Debug for MempoolSizeAndCapacity
impl Debug for MempoolSizeAndCapacity
Source§impl<'de> Deserialize<'de> for MempoolSizeAndCapacity
impl<'de> Deserialize<'de> for MempoolSizeAndCapacity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MempoolSizeAndCapacity
Source§impl PartialEq for MempoolSizeAndCapacity
impl PartialEq for MempoolSizeAndCapacity
Source§impl Serialize for MempoolSizeAndCapacity
impl Serialize for MempoolSizeAndCapacity
impl StructuralPartialEq for MempoolSizeAndCapacity
Auto Trait Implementations§
impl Freeze for MempoolSizeAndCapacity
impl RefUnwindSafe for MempoolSizeAndCapacity
impl Send for MempoolSizeAndCapacity
impl Sync for MempoolSizeAndCapacity
impl Unpin for MempoolSizeAndCapacity
impl UnsafeUnpin for MempoolSizeAndCapacity
impl UnwindSafe for MempoolSizeAndCapacity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.