Struct ckb_jsonrpc_types::PoolTransactionEntry
source · pub struct PoolTransactionEntry {
pub transaction: TransactionView,
pub cycles: Cycle,
pub size: Uint64,
pub fee: Capacity,
pub timestamp: Uint64,
}Expand description
The transaction entry in the pool.
Fields§
§transaction: TransactionViewThe transaction.
cycles: CycleConsumed cycles.
size: Uint64The transaction serialized size in block.
fee: CapacityThe transaction fee.
timestamp: Uint64The 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 Default for PoolTransactionEntry
impl Default for PoolTransactionEntry
source§fn default() -> PoolTransactionEntry
fn default() -> PoolTransactionEntry
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PoolTransactionEntry
impl<'de> Deserialize<'de> for PoolTransactionEntry
source§fn 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
source§impl From<PoolTransactionEntry> for PoolTransactionEntry
impl From<PoolTransactionEntry> for PoolTransactionEntry
source§fn from(entry: CorePoolTransactionEntry) -> Self
fn from(entry: CorePoolTransactionEntry) -> Self
Converts to this type from the input type.
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 ==.source§impl Serialize for PoolTransactionEntry
impl Serialize for PoolTransactionEntry
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