pub struct TxpoolContent<TX> {
pub pending: BTreeMap<Address, BTreeMap<String, TX>>,
pub queued: BTreeMap<Address, BTreeMap<String, TX>>,
}Expand description
Transaction Pool Content
The content inspection property can be queried to list the exact details of all the transactions currently pending for inclusion in the next block(s), as well as the ones that are being scheduled for future execution only.
See here for more details
Fields§
§pending: BTreeMap<Address, BTreeMap<String, TX>>pending tx
queued: BTreeMap<Address, BTreeMap<String, TX>>queued tx
Trait Implementations§
Source§impl<TX: Clone> Clone for TxpoolContent<TX>
impl<TX: Clone> Clone for TxpoolContent<TX>
Source§fn clone(&self) -> TxpoolContent<TX>
fn clone(&self) -> TxpoolContent<TX>
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<TX: Debug> Debug for TxpoolContent<TX>
impl<TX: Debug> Debug for TxpoolContent<TX>
Source§impl<TX: Default> Default for TxpoolContent<TX>
impl<TX: Default> Default for TxpoolContent<TX>
Source§fn default() -> TxpoolContent<TX>
fn default() -> TxpoolContent<TX>
Returns the “default value” for a type. Read more
Source§impl<'de, TX> Deserialize<'de> for TxpoolContent<TX>where
TX: Deserialize<'de>,
impl<'de, TX> Deserialize<'de> for TxpoolContent<TX>where
TX: Deserialize<'de>,
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<TX: PartialEq> PartialEq for TxpoolContent<TX>
impl<TX: PartialEq> PartialEq for TxpoolContent<TX>
Source§impl<TX> Serialize for TxpoolContent<TX>where
TX: Serialize,
impl<TX> Serialize for TxpoolContent<TX>where
TX: Serialize,
impl<TX: Eq> Eq for TxpoolContent<TX>
impl<TX> StructuralPartialEq for TxpoolContent<TX>
Auto Trait Implementations§
impl<TX> Freeze for TxpoolContent<TX>
impl<TX> RefUnwindSafe for TxpoolContent<TX>where
TX: RefUnwindSafe,
impl<TX> Send for TxpoolContent<TX>where
TX: Send,
impl<TX> Sync for TxpoolContent<TX>where
TX: Sync,
impl<TX> Unpin for TxpoolContent<TX>
impl<TX> UnwindSafe for TxpoolContent<TX>where
TX: RefUnwindSafe,
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more