Struct ckb_types::core::tx_pool::PoolTxDetailInfo
source · pub struct PoolTxDetailInfo {
pub timestamp: u64,
pub entry_status: String,
pub rank_in_pending: usize,
pub pending_count: usize,
pub proposed_count: usize,
pub descendants_count: usize,
pub ancestors_count: usize,
pub score_sortkey: AncestorsScoreSortKey,
}
Expand description
A Tx details info in tx-pool.
Fields§
§timestamp: u64
The time added into tx-pool
entry_status: String
The detailed status in tx-pool, Pending
, Gap
, Proposed
rank_in_pending: usize
The rank in pending, starting from 0
pending_count: usize
The pending(Pending
and Gap
) count
proposed_count: usize
The proposed count
descendants_count: usize
The descendants count of tx
ancestors_count: usize
The ancestors count of tx
score_sortkey: AncestorsScoreSortKey
The score key details, useful to debug
Implementations§
source§impl PoolTxDetailInfo
impl PoolTxDetailInfo
sourcepub fn with_unknown() -> Self
pub fn with_unknown() -> Self
Build with rejected status
Trait Implementations§
source§impl Clone for PoolTxDetailInfo
impl Clone for PoolTxDetailInfo
source§fn clone(&self) -> PoolTxDetailInfo
fn clone(&self) -> PoolTxDetailInfo
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 PoolTxDetailInfo
impl Debug for PoolTxDetailInfo
source§impl Default for PoolTxDetailInfo
impl Default for PoolTxDetailInfo
source§fn default() -> PoolTxDetailInfo
fn default() -> PoolTxDetailInfo
Returns the “default value” for a type. Read more
source§impl PartialEq for PoolTxDetailInfo
impl PartialEq for PoolTxDetailInfo
source§fn eq(&self, other: &PoolTxDetailInfo) -> bool
fn eq(&self, other: &PoolTxDetailInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PoolTxDetailInfo
impl StructuralPartialEq for PoolTxDetailInfo
Auto Trait Implementations§
impl Freeze for PoolTxDetailInfo
impl RefUnwindSafe for PoolTxDetailInfo
impl Send for PoolTxDetailInfo
impl Sync for PoolTxDetailInfo
impl Unpin for PoolTxDetailInfo
impl UnwindSafe for PoolTxDetailInfo
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