Struct lightning::ln::msgs::UpdateFailMalformedHTLC
source · pub struct UpdateFailMalformedHTLC {
pub channel_id: [u8; 32],
pub htlc_id: u64,
pub failure_code: u16,
/* private fields */
}
Expand description
An update_fail_malformed_htlc
message to be sent to or received from a peer.
Fields§
§channel_id: [u8; 32]
The channel ID
htlc_id: u64
The HTLC ID
failure_code: u16
The failure code
Trait Implementations§
source§impl Clone for UpdateFailMalformedHTLC
impl Clone for UpdateFailMalformedHTLC
source§fn clone(&self) -> UpdateFailMalformedHTLC
fn clone(&self) -> UpdateFailMalformedHTLC
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 UpdateFailMalformedHTLC
impl Debug for UpdateFailMalformedHTLC
source§impl PartialEq<UpdateFailMalformedHTLC> for UpdateFailMalformedHTLC
impl PartialEq<UpdateFailMalformedHTLC> for UpdateFailMalformedHTLC
source§fn eq(&self, other: &UpdateFailMalformedHTLC) -> bool
fn eq(&self, other: &UpdateFailMalformedHTLC) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.