pub struct TxAddOutput {
pub channel_id: ChannelId,
pub serial_id: SerialId,
pub sats: u64,
pub script: ScriptBuf,
}Expand description
A tx_add_output message for adding an output during interactive transaction construction.
Fields§
§channel_id: ChannelIdThe channel ID
serial_id: SerialIdA randomly chosen unique identifier for this output, which is even for initiators and odd for non-initiators.
sats: u64The satoshi value of the output
script: ScriptBufThe scriptPubKey for the output
Trait Implementations§
Source§impl Clone for TxAddOutput
impl Clone for TxAddOutput
Source§fn clone(&self) -> TxAddOutput
fn clone(&self) -> TxAddOutput
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 TxAddOutput
impl Debug for TxAddOutput
Source§impl Hash for TxAddOutput
impl Hash for TxAddOutput
Source§impl PartialEq for TxAddOutput
impl PartialEq for TxAddOutput
Source§impl Readable for TxAddOutput
impl Readable for TxAddOutput
Source§impl Writeable for TxAddOutput
impl Writeable for TxAddOutput
impl Eq for TxAddOutput
impl StructuralPartialEq for TxAddOutput
Auto Trait Implementations§
impl Freeze for TxAddOutput
impl RefUnwindSafe for TxAddOutput
impl Send for TxAddOutput
impl Sync for TxAddOutput
impl Unpin for TxAddOutput
impl UnwindSafe for TxAddOutput
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