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: TransactionView
The transaction.
cycles: Cycle
Consumed cycles.
size: Uint64
The transaction serialized size in block.
fee: Capacity
The transaction fee.
timestamp: Uint64
The 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 for PoolTransactionEntry
impl PartialEq for PoolTransactionEntry
Source§impl Serialize for PoolTransactionEntry
impl Serialize for PoolTransactionEntry
impl Eq for PoolTransactionEntry
impl StructuralPartialEq for PoolTransactionEntry
Auto Trait Implementations§
impl Freeze for PoolTransactionEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)