Struct lightning::blinded_path::payment::ForwardTlvs
source · pub struct ForwardTlvs {
pub short_channel_id: u64,
pub payment_relay: PaymentRelay,
pub payment_constraints: PaymentConstraints,
pub features: BlindedHopFeatures,
}
Expand description
Data to construct a BlindedHop
for forwarding a payment.
Fields§
§short_channel_id: u64
The short channel id this payment should be forwarded out over.
payment_relay: PaymentRelay
Payment parameters for relaying over Self::short_channel_id
.
payment_constraints: PaymentConstraints
Payment constraints for relaying over Self::short_channel_id
.
features: BlindedHopFeatures
Supported and required features when relaying a payment onion containing this object’s
corresponding BlindedHop::encrypted_payload
.
Trait Implementations§
source§impl Clone for ForwardTlvs
impl Clone for ForwardTlvs
source§fn clone(&self) -> ForwardTlvs
fn clone(&self) -> ForwardTlvs
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 ForwardTlvs
impl Debug for ForwardTlvs
source§impl Writeable for ForwardTlvs
impl Writeable for ForwardTlvs
Auto Trait Implementations§
impl RefUnwindSafe for ForwardTlvs
impl Send for ForwardTlvs
impl Sync for ForwardTlvs
impl Unpin for ForwardTlvs
impl UnwindSafe for ForwardTlvs
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