pub struct Utxo {
pub txid: Txid,
pub vout: u32,
pub status: UtxoStatus,
pub value: Amount,
}Expand description
An unspent TxOut, including its outpoint, confirmation status and value.
Fields§
§txid: TxidThe Txid of the Transaction that created this TxOut.
vout: u32The output index of this TxOut in the Transaction that created it.
status: UtxoStatusThe confirmation status of this TxOut.
value: AmountThe value of this TxOut.
Trait Implementations§
impl Copy for Utxo
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
impl Eq for Utxo
impl StructuralPartialEq for Utxo
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