Struct ckb_jsonrpc_types::TxPoolEntries
source · [−]pub struct TxPoolEntries {
pub pending: HashMap<H256, TxPoolEntry>,
pub proposed: HashMap<H256, TxPoolEntry>,
}
Expand description
Tx-pool entries object
Fields
pending: HashMap<H256, TxPoolEntry>
Pending tx verbose info
proposed: HashMap<H256, TxPoolEntry>
Proposed tx verbose info
Trait Implementations
sourceimpl Clone for TxPoolEntries
impl Clone for TxPoolEntries
sourcefn clone(&self) -> TxPoolEntries
fn clone(&self) -> TxPoolEntries
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 TxPoolEntries
impl Debug for TxPoolEntries
sourceimpl<'de> Deserialize<'de> for TxPoolEntries
impl<'de> Deserialize<'de> for TxPoolEntries
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<TxPoolEntryInfo> for TxPoolEntries
impl From<TxPoolEntryInfo> for TxPoolEntries
sourcefn from(info: TxPoolEntryInfo) -> Self
fn from(info: TxPoolEntryInfo) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<TxPoolEntries> for TxPoolEntries
impl PartialEq<TxPoolEntries> for TxPoolEntries
sourcefn eq(&self, other: &TxPoolEntries) -> bool
fn eq(&self, other: &TxPoolEntries) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TxPoolEntries) -> bool
fn ne(&self, other: &TxPoolEntries) -> bool
This method tests for !=
.
sourceimpl Serialize for TxPoolEntries
impl Serialize for TxPoolEntries
impl Eq for TxPoolEntries
impl StructuralEq for TxPoolEntries
impl StructuralPartialEq for TxPoolEntries
Auto Trait Implementations
impl RefUnwindSafe for TxPoolEntries
impl Send for TxPoolEntries
impl Sync for TxPoolEntries
impl Unpin for TxPoolEntries
impl UnwindSafe for TxPoolEntries
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