Struct lightning::ln::msgs::CommitmentSigned [−][src]
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 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Writes self out to a Vec
Writes self out to a Vec
Gets the length of this object after it has been serialized. This can be overridden to optimize cases where we prepend an object with its length. Read more
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
Mutably borrows from an owned value. Read more