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 for PoolTransactionEntry
impl PartialEq 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 ==.impl Eq for PoolTransactionEntry
impl StructuralEq for PoolTransactionEntry
impl StructuralPartialEq for PoolTransactionEntry
Auto Trait Implementations§
impl RefUnwindSafe for PoolTransactionEntry
impl Send for PoolTransactionEntry
impl Sync for PoolTransactionEntry
impl Unpin for PoolTransactionEntry
impl UnwindSafe for PoolTransactionEntry
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