pub struct PendingTx {
pub hash: String,
pub payload: Option<String>,
}Expand description
A pending transaction entry.
Represents a transaction that is pending in the mempool, waiting to be included in a block.
§Fields
hash- Transaction hashpayload- Optional transaction payload
Fields§
§hash: StringTransaction hash.
payload: Option<String>Optional CBOR-encoded transaction payload.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PendingTx
impl<'de> Deserialize<'de> for PendingTx
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
Auto Trait Implementations§
impl Freeze for PendingTx
impl RefUnwindSafe for PendingTx
impl Send for PendingTx
impl Sync for PendingTx
impl Unpin for PendingTx
impl UnsafeUnpin for PendingTx
impl UnwindSafe for PendingTx
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