pub struct TxStatus {
pub stage: TxStage,
pub confirmations: u64,
pub non_confirmations: u64,
pub confirmed_at: Option<ChainPoint>,
}Expand description
Status information for a transaction.
Contains detailed status information including the current lifecycle stage, confirmation counts, and the chain point where the transaction was confirmed.
§Fields
stage- Current lifecycle stageconfirmations- Number of confirmations receivednon_confirmations- Number of non-confirmations (conflicting blocks)confirmed_at- Chain point where first confirmed (if confirmed)
Fields§
§stage: TxStageCurrent lifecycle stage.
confirmations: u64Number of block confirmations.
non_confirmations: u64Number of blocks that didn’t include the transaction.
confirmed_at: Option<ChainPoint>Chain point where the transaction was first confirmed.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TxStatus
impl<'de> Deserialize<'de> for TxStatus
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 TxStatus
impl RefUnwindSafe for TxStatus
impl Send for TxStatus
impl Sync for TxStatus
impl Unpin for TxStatus
impl UnsafeUnpin for TxStatus
impl UnwindSafe for TxStatus
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