Struct lightning::ln::msgs::UpdateAddHTLC [−][src]
pub struct UpdateAddHTLC { pub channel_id: [u8; 32], pub htlc_id: u64, pub amount_msat: u64, pub payment_hash: PaymentHash, pub cltv_expiry: u32, // some fields omitted }
Expand description
An update_add_htlc message to be sent or received from a peer
Fields
channel_id: [u8; 32]
The channel ID
htlc_id: u64
The HTLC ID
amount_msat: u64
The HTLC value in milli-satoshi
payment_hash: PaymentHash
The payment hash, the pre-image of which controls HTLC redemption
cltv_expiry: u32
The expiry height of the HTLC
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Gets the length of this object after it has been serialized. This can be overridden to optimize cases where we prepend an object with its length. Read more
Writes self out to a Vec
Auto Trait Implementations
impl RefUnwindSafe for UpdateAddHTLC
impl Send for UpdateAddHTLC
impl Sync for UpdateAddHTLC
impl Unpin for UpdateAddHTLC
impl UnwindSafe for UpdateAddHTLC
Blanket Implementations
Mutably borrows from an owned value. Read more