pub struct Utxo {
pub height: Height,
pub tx_pos: usize,
pub txid: Txid,
pub value: Amount,
}Expand description
Response entry from the "blockchain.scripthash.listunspent" method.
Fields§
§height: HeightThe height of the block in which the UTXO was confirmed, or 0 if unconfirmed.
tx_pos: usizeThe output index of the transaction.
txid: TxidThe transaction ID that created this UTXO.
value: AmountThe value of the UTXO in satoshis.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Utxo
impl<'de> Deserialize<'de> for Utxo
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 Utxo
impl RefUnwindSafe for Utxo
impl Send for Utxo
impl Sync for Utxo
impl Unpin for Utxo
impl UnsafeUnpin for Utxo
impl UnwindSafe for Utxo
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