pub struct SimpleUtxo {
pub satoshis: u64,
pub locking_script: LockingScript,
}Expand description
A simple UTXO for testing purposes.
Fields§
§satoshis: u64Satoshi value.
locking_script: LockingScriptLocking script.
Trait Implementations§
Source§impl Clone for SimpleUtxo
impl Clone for SimpleUtxo
Source§fn clone(&self) -> SimpleUtxo
fn clone(&self) -> SimpleUtxo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SimpleUtxo
impl Debug for SimpleUtxo
Source§impl TransactionOutputContext for SimpleUtxo
impl TransactionOutputContext for SimpleUtxo
Source§fn locking_script(&self) -> &LockingScript
fn locking_script(&self) -> &LockingScript
The locking script of this output.
Auto Trait Implementations§
impl !Freeze for SimpleUtxo
impl !RefUnwindSafe for SimpleUtxo
impl Send for SimpleUtxo
impl !Sync for SimpleUtxo
impl Unpin for SimpleUtxo
impl UnsafeUnpin for SimpleUtxo
impl UnwindSafe for SimpleUtxo
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