pub struct TxLog {
pub hash: String,
pub stage: TxStage,
pub payload: Option<String>,
pub confirmations: u64,
pub non_confirmations: u64,
pub confirmed_at: Option<ChainPoint>,
}Expand description
A log entry for a transaction.
Represents a single entry in the transaction log, tracking the transaction’s progress through various stages.
§Fields
hash- Transaction hashstage- Current stagepayload- Optional payload dataconfirmations- Number of confirmationsnon_confirmations- Number of non-confirmationsconfirmed_at- Chain point of first confirmation
Fields§
§hash: StringTransaction hash.
stage: TxStageCurrent lifecycle stage.
payload: Option<String>Optional payload data (CBOR-encoded).
confirmations: u64Number of confirmations.
non_confirmations: u64Number of non-confirmations.
confirmed_at: Option<ChainPoint>Chain point of first confirmation.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TxLog
impl<'de> Deserialize<'de> for TxLog
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 TxLog
impl RefUnwindSafe for TxLog
impl Send for TxLog
impl Sync for TxLog
impl Unpin for TxLog
impl UnsafeUnpin for TxLog
impl UnwindSafe for TxLog
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