pub struct TxOut {
pub amount: Amount,
pub pk_script: Script,
}
Expand description
Transaction output
Fields§
§amount: Amount
Number of satoshis to spend
pk_script: Script
Public key script to claim the output
Implementations§
Trait Implementations§
Source§impl Serializable<TxOut> for TxOut
impl Serializable<TxOut> for TxOut
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