pub struct ElementsUtxo {
pub script_pubkey: Script,
pub asset: Asset,
pub value: Value,
}
Expand description
An Elements UTXO
Fields§
§script_pubkey: Script
The ‘scriptpubkey’ (hash of Simplicity program)
asset: Asset
The explicit or confidential asset
value: Value
The explict or confidential value
Trait Implementations§
Source§impl Clone for ElementsUtxo
impl Clone for ElementsUtxo
Source§fn clone(&self) -> ElementsUtxo
fn clone(&self) -> ElementsUtxo
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 ElementsUtxo
impl Debug for ElementsUtxo
Source§impl From<TxOut> for ElementsUtxo
impl From<TxOut> for ElementsUtxo
Source§impl PartialEq for ElementsUtxo
impl PartialEq for ElementsUtxo
impl Eq for ElementsUtxo
impl StructuralPartialEq for ElementsUtxo
Auto Trait Implementations§
impl Freeze for ElementsUtxo
impl RefUnwindSafe for ElementsUtxo
impl Send for ElementsUtxo
impl Sync for ElementsUtxo
impl Unpin for ElementsUtxo
impl UnwindSafe for ElementsUtxo
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