pub struct TxStatus {
pub confirmed: bool,
pub block_height: Option<u32>,
pub block_hash: Option<BlockHash>,
pub block_time: Option<u64>,
}Expand description
The confirmation status of a Transaction.
Fields§
§confirmed: boolWhether the Transaction is confirmed or not.
block_height: Option<u32>The block height the Transaction was confirmed in.
block_hash: Option<BlockHash>The BlockHash of the block the Transaction was confirmed in.
block_time: Option<u64>The time that the block was mined at, as a UNIX timestamp. Note: this timestamp is set by the miner and may not reflect the exact time of mining.
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
impl Eq for TxStatus
impl StructuralPartialEq for TxStatus
Auto Trait Implementations§
impl Freeze for TxStatus
impl RefUnwindSafe for TxStatus
impl Send for TxStatus
impl Sync for TxStatus
impl Unpin 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