Struct lightning::ln::msgs::UpdateFulfillHTLC
source · pub struct UpdateFulfillHTLC {
pub channel_id: ChannelId,
pub htlc_id: u64,
pub payment_preimage: PaymentPreimage,
}
Expand description
An update_fulfill_htlc
message to be sent to or received from a peer.
Fields§
§channel_id: ChannelId
The channel ID
htlc_id: u64
The HTLC ID
payment_preimage: PaymentPreimage
The pre-image of the payment hash, allowing HTLC redemption
Trait Implementations§
source§impl Clone for UpdateFulfillHTLC
impl Clone for UpdateFulfillHTLC
source§fn clone(&self) -> UpdateFulfillHTLC
fn clone(&self) -> UpdateFulfillHTLC
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 UpdateFulfillHTLC
impl Debug for UpdateFulfillHTLC
source§impl Hash for UpdateFulfillHTLC
impl Hash for UpdateFulfillHTLC
source§impl PartialEq for UpdateFulfillHTLC
impl PartialEq for UpdateFulfillHTLC
source§fn eq(&self, other: &UpdateFulfillHTLC) -> bool
fn eq(&self, other: &UpdateFulfillHTLC) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Readable for UpdateFulfillHTLC
impl Readable for UpdateFulfillHTLC
source§impl Writeable for UpdateFulfillHTLC
impl Writeable for UpdateFulfillHTLC
impl Eq for UpdateFulfillHTLC
impl StructuralPartialEq for UpdateFulfillHTLC
Auto Trait Implementations§
impl Freeze for UpdateFulfillHTLC
impl RefUnwindSafe for UpdateFulfillHTLC
impl Send for UpdateFulfillHTLC
impl Sync for UpdateFulfillHTLC
impl Unpin for UpdateFulfillHTLC
impl UnwindSafe for UpdateFulfillHTLC
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