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
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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PoolTransactionEntry
impl Debug for PoolTransactionEntry
sourceimpl Default for PoolTransactionEntry
impl Default for PoolTransactionEntry
sourcefn default() -> PoolTransactionEntry
fn default() -> PoolTransactionEntry
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PoolTransactionEntry
impl<'de> Deserialize<'de> for PoolTransactionEntry
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<PoolTransactionEntry> for PoolTransactionEntry
impl From<PoolTransactionEntry> for PoolTransactionEntry
sourcefn from(entry: CorePoolTransactionEntry) -> Self
fn from(entry: CorePoolTransactionEntry) -> Self
Converts to this type from the input type.
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
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &PoolTransactionEntry) -> bool
fn ne(&self, other: &PoolTransactionEntry) -> bool
This method tests for !=.
sourceimpl 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
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)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more