Struct lightning::ln::msgs::UpdateFailHTLC
source · pub struct UpdateFailHTLC {
pub channel_id: ChannelId,
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: ChannelId
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 Hash for UpdateFailHTLC
impl Hash for UpdateFailHTLC
source§impl PartialEq for UpdateFailHTLC
impl PartialEq 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 ==
.source§impl Readable for UpdateFailHTLC
impl Readable for UpdateFailHTLC
source§impl Writeable for UpdateFailHTLC
impl Writeable for UpdateFailHTLC
impl Eq for UpdateFailHTLC
impl StructuralPartialEq for UpdateFailHTLC
Auto Trait Implementations§
impl Freeze for UpdateFailHTLC
impl RefUnwindSafe for UpdateFailHTLC
impl Send for UpdateFailHTLC
impl Sync for UpdateFailHTLC
impl Unpin for UpdateFailHTLC
impl UnwindSafe for UpdateFailHTLC
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