pub struct TxRes {
pub confirmations: u32,
pub block_hash: Option<BlockHash>,
pub time: Option<u64>,
pub tx: Tx,
}
Expand description
Response to a script_list_unspent
request.
Fields§
§confirmations: u32
The number of confirmations; zero if the transaction is unconfirmed.
block_hash: Option<BlockHash>
The hash of the block where the transaction is mined.
time: Option<u64>
The block time expressed in UNIX epoch time.
tx: Tx
Transaction source
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TxRes
impl<'de> Deserialize<'de> for TxRes
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 TxRes
impl RefUnwindSafe for TxRes
impl Send for TxRes
impl Sync for TxRes
impl Unpin for TxRes
impl UnwindSafe for TxRes
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