Struct lightning::ln::msgs::CommitmentSigned
source · pub struct CommitmentSigned {
pub channel_id: [u8; 32],
pub signature: Signature,
pub htlc_signatures: Vec<Signature>,
}
Expand description
A commitment_signed
message to be sent to or received from a peer.
Fields§
§channel_id: [u8; 32]
The channel ID
signature: Signature
A signature on the commitment transaction
htlc_signatures: Vec<Signature>
Signatures on the HTLC transactions
Trait Implementations§
source§impl Clone for CommitmentSigned
impl Clone for CommitmentSigned
source§fn clone(&self) -> CommitmentSigned
fn clone(&self) -> CommitmentSigned
Returns a copy 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 PartialEq<CommitmentSigned> for CommitmentSigned
impl PartialEq<CommitmentSigned> for CommitmentSigned
source§fn eq(&self, other: &CommitmentSigned) -> bool
fn eq(&self, other: &CommitmentSigned) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Readable for CommitmentSigned
impl Readable for CommitmentSigned
source§impl Writeable for CommitmentSigned
impl Writeable for CommitmentSigned
impl Eq for CommitmentSigned
impl StructuralEq for CommitmentSigned
impl StructuralPartialEq for CommitmentSigned
Auto Trait Implementations§
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