pub struct TxOut {
pub value: u64,
pub script_pubkey: Script,
}Expand description
A transaction output, which defines new coins to be created from old ones.
Fields§
§value: u64The value of the output, in satoshis
script_pubkey: ScriptThe script which must satisfy for the output to be spent
Trait Implementations§
impl Eq for TxOut
impl StructuralPartialEq for TxOut
Auto Trait Implementations§
impl Freeze for TxOut
impl RefUnwindSafe for TxOut
impl Send for TxOut
impl Sync for TxOut
impl Unpin for TxOut
impl UnwindSafe for TxOut
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