pub struct InflightTx {
pub hash: String,
pub stage: TxStage,
pub confirmations: u64,
pub non_confirmations: u64,
pub confirmed_at: Option<ChainPoint>,
pub payload: Option<String>,
}Expand description
An in-flight transaction entry.
Represents a transaction that has been submitted and is being tracked through its lifecycle stages.
§Fields
hash- Transaction hashstage- Current lifecycle stageconfirmations- Number of confirmationsnon_confirmations- Number of non-confirmationsconfirmed_at- Chain point of first confirmationpayload- Optional transaction payload
Fields§
§hash: StringTransaction hash.
stage: TxStageCurrent lifecycle stage.
confirmations: u64Number of confirmations.
non_confirmations: u64Number of non-confirmations.
confirmed_at: Option<ChainPoint>Chain point of first confirmation.
payload: Option<String>Optional CBOR-encoded transaction payload.
Trait Implementations§
Source§impl Clone for InflightTx
impl Clone for InflightTx
Source§fn clone(&self) -> InflightTx
fn clone(&self) -> InflightTx
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InflightTx
impl Debug for InflightTx
Source§impl<'de> Deserialize<'de> for InflightTx
impl<'de> Deserialize<'de> for InflightTx
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 InflightTx
impl RefUnwindSafe for InflightTx
impl Send for InflightTx
impl Sync for InflightTx
impl Unpin for InflightTx
impl UnsafeUnpin for InflightTx
impl UnwindSafe for InflightTx
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