pub struct TxOutput {
pub value: u64,
pub script_pubkey: Vec<u8>,
}Expand description
A transaction output.
Fields§
§value: u64Value in satoshis
script_pubkey: Vec<u8>Locking script (scriptPubKey)
Implementations§
Trait Implementations§
impl Eq for TxOutput
impl StructuralPartialEq for TxOutput
Auto Trait Implementations§
impl Freeze for TxOutput
impl RefUnwindSafe for TxOutput
impl Send for TxOutput
impl Sync for TxOutput
impl Unpin for TxOutput
impl UnwindSafe for TxOutput
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