pub struct Utxo {
pub tx_out: TxOut,
pub outpoint: OutPoint,
pub address: Address,
pub redeem_script: ScriptBuf,
pub reserved: bool,
}
Expand description
Represents a UTXO.
Fields§
§tx_out: TxOut
The TxOut containing the value and script pubkey of the referenced output.
outpoint: OutPoint
The outpoint containing the txid and vout of the referenced output.
address: Address
The address associated with the referenced output.
redeem_script: ScriptBuf
The redeem script for the referenced output.
reserved: bool
Whether this Utxo has been reserved (and so should not be used to fund a DLC).
Trait Implementations§
Source§impl Writeable for Utxo
impl Writeable 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 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