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
sourceimpl Clone for PoolTransactionEntry
impl Clone for PoolTransactionEntry
sourcefn clone(&self) -> PoolTransactionEntry
fn clone(&self) -> PoolTransactionEntry
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PoolTransactionEntry
impl Debug for PoolTransactionEntry
sourceimpl Hash for PoolTransactionEntry
impl Hash for PoolTransactionEntry
sourceimpl PartialEq<PoolTransactionEntry> for PoolTransactionEntry
impl PartialEq<PoolTransactionEntry> for PoolTransactionEntry
sourcefn eq(&self, other: &PoolTransactionEntry) -> bool
fn eq(&self, other: &PoolTransactionEntry) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.