Struct lightning::ln::msgs::UpdateFailHTLC
source · pub struct UpdateFailHTLC {
pub channel_id: [u8; 32],
pub htlc_id: u64,
/* private fields */
}
Expand description
An update_fail_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
Trait Implementations§
source§impl Clone for UpdateFailHTLC
impl Clone for UpdateFailHTLC
source§fn clone(&self) -> UpdateFailHTLC
fn clone(&self) -> UpdateFailHTLC
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 UpdateFailHTLC
impl Debug for UpdateFailHTLC
source§impl PartialEq<UpdateFailHTLC> for UpdateFailHTLC
impl PartialEq<UpdateFailHTLC> for UpdateFailHTLC
source§fn eq(&self, other: &UpdateFailHTLC) -> bool
fn eq(&self, other: &UpdateFailHTLC) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.