Struct ckb_notify::PoolTransactionEntry
source · pub struct PoolTransactionEntry {
pub transaction: TransactionView,
pub cycles: u64,
pub size: usize,
pub fee: Capacity,
pub timestamp: u64,
}Expand description
Notify pool transaction entry
Fields§
§transaction: TransactionViewTransaction view
cycles: u64Transaction consumed cycles
size: usizeTransaction serialized cycles
fee: CapacityTransaction fee
timestamp: u64The unix timestamp when entering the Txpool, unit: Millisecond
Trait Implementations§
source§impl Clone for PoolTransactionEntry
impl Clone for PoolTransactionEntry
source§fn clone(&self) -> PoolTransactionEntry
fn clone(&self) -> PoolTransactionEntry
Returns a copy 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 moresource§impl Debug for PoolTransactionEntry
impl Debug for PoolTransactionEntry
source§impl Hash for PoolTransactionEntry
impl Hash for PoolTransactionEntry
source§impl PartialEq<PoolTransactionEntry> for PoolTransactionEntry
impl PartialEq<PoolTransactionEntry> for PoolTransactionEntry
source§fn eq(&self, other: &PoolTransactionEntry) -> bool
fn eq(&self, other: &PoolTransactionEntry) -> bool
This method tests for
self and other values to be equal, and is used
by ==.