pub struct UpdateFulfillHTLC {
pub channel_id: ChannelId,
pub htlc_id: u64,
pub payment_preimage: PaymentPreimage,
pub attribution_data: Option<AttributionData>,
}Expand description
An update_fulfill_htlc message to be sent to or received from a peer.
Fields§
§channel_id: ChannelIdThe channel ID
htlc_id: u64The HTLC ID
payment_preimage: PaymentPreimageThe pre-image of the payment hash, allowing HTLC redemption
attribution_data: Option<AttributionData>Optional field for attribution data that allows the sender to receive per hop HTLC hold times.
Trait Implementations§
Source§impl Clone for UpdateFulfillHTLC
impl Clone for UpdateFulfillHTLC
Source§fn clone(&self) -> UpdateFulfillHTLC
fn clone(&self) -> UpdateFulfillHTLC
Returns a duplicate 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 LengthReadable for UpdateFulfillHTLC
impl LengthReadable for UpdateFulfillHTLC
Source§fn read_from_fixed_length_buffer<R: LengthLimitedRead>(
r: &mut R,
) -> Result<Self, DecodeError>
fn read_from_fixed_length_buffer<R: LengthLimitedRead>( r: &mut R, ) -> Result<Self, DecodeError>
Reads a
Self in from the given LengthLimitedRead.Source§impl PartialEq for UpdateFulfillHTLC
impl PartialEq 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