pub struct CommitmentSigned {
pub channel_id: ChannelId,
pub signature: Signature,
pub htlc_signatures: Vec<Signature>,
pub funding_txid: Option<Txid>,
}Expand description
A commitment_signed message to be sent to or received from a peer.
Fields§
§channel_id: ChannelIdThe channel ID
signature: SignatureA signature on the commitment transaction
htlc_signatures: Vec<Signature>Signatures on the HTLC transactions
funding_txid: Option<Txid>The funding transaction, to discriminate among multiple pending funding transactions (e.g. in case of splicing)
Trait Implementations§
Source§impl Clone for CommitmentSigned
impl Clone for CommitmentSigned
Source§fn clone(&self) -> CommitmentSigned
fn clone(&self) -> CommitmentSigned
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 CommitmentSigned
impl Debug for CommitmentSigned
Source§impl Hash for CommitmentSigned
impl Hash for CommitmentSigned
Source§impl LengthReadable for CommitmentSigned
impl LengthReadable for CommitmentSigned
Source§fn read_from_fixed_length_buffer<R: LengthLimitedRead>(
r: &mut R,
) -> Result<Self, DecodeError>
fn read_from_fixed_length_buffer<R: LengthLimitedRead>( r: &mut R, ) -> Result<Self, DecodeError>
Reads a
Self in from the given LengthLimitedRead.Source§impl PartialEq for CommitmentSigned
impl PartialEq for CommitmentSigned
Source§impl Writeable for CommitmentSigned
impl Writeable for CommitmentSigned
impl Eq for CommitmentSigned
impl StructuralPartialEq for CommitmentSigned
Auto Trait Implementations§
impl Freeze for CommitmentSigned
impl RefUnwindSafe for CommitmentSigned
impl Send for CommitmentSigned
impl Sync for CommitmentSigned
impl Unpin for CommitmentSigned
impl UnwindSafe for CommitmentSigned
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