Struct ckb_jsonrpc_types::TxPoolEntry
source · [−]pub struct TxPoolEntry {
pub cycles: Uint64,
pub size: Uint64,
pub fee: Capacity,
pub ancestors_size: Uint64,
pub ancestors_cycles: Uint64,
pub ancestors_count: Uint64,
pub timestamp: Uint64,
}
Expand description
Transaction entry info
Fields
cycles: Uint64
Consumed cycles.
size: Uint64
The transaction serialized size in block.
fee: Capacity
The transaction fee.
ancestors_size: Uint64
Size of in-tx-pool ancestor transactions
ancestors_cycles: Uint64
Cycles of in-tx-pool ancestor transactions
ancestors_count: Uint64
Number of in-tx-pool ancestor transactions
timestamp: Uint64
The unix timestamp when entering the Txpool, unit: Millisecond
Trait Implementations
sourceimpl Clone for TxPoolEntry
impl Clone for TxPoolEntry
sourcefn clone(&self) -> TxPoolEntry
fn clone(&self) -> TxPoolEntry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TxPoolEntry
impl Debug for TxPoolEntry
sourceimpl<'de> Deserialize<'de> for TxPoolEntry
impl<'de> Deserialize<'de> for TxPoolEntry
sourcefn 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
sourceimpl From<TxEntryInfo> for TxPoolEntry
impl From<TxEntryInfo> for TxPoolEntry
sourcefn from(info: TxEntryInfo) -> Self
fn from(info: TxEntryInfo) -> Self
Converts to this type from the input type.
sourceimpl Hash for TxPoolEntry
impl Hash for TxPoolEntry
sourceimpl PartialEq<TxPoolEntry> for TxPoolEntry
impl PartialEq<TxPoolEntry> for TxPoolEntry
sourcefn eq(&self, other: &TxPoolEntry) -> bool
fn eq(&self, other: &TxPoolEntry) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TxPoolEntry) -> bool
fn ne(&self, other: &TxPoolEntry) -> bool
This method tests for !=
.
sourceimpl Serialize for TxPoolEntry
impl Serialize for TxPoolEntry
impl Eq for TxPoolEntry
impl StructuralEq for TxPoolEntry
impl StructuralPartialEq for TxPoolEntry
Auto Trait Implementations
impl RefUnwindSafe for TxPoolEntry
impl Send for TxPoolEntry
impl Sync for TxPoolEntry
impl Unpin for TxPoolEntry
impl UnwindSafe for TxPoolEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more