pub struct ForwardTlvs {
pub short_channel_id: u64,
pub payment_relay: PaymentRelay,
pub payment_constraints: PaymentConstraints,
pub features: BlindedHopFeatures,
pub next_blinding_override: Option<PublicKey>,
}Expand description
Data to construct a BlindedHop for forwarding a payment.
Fields§
§short_channel_id: u64The short channel id this payment should be forwarded out over.
payment_relay: PaymentRelayPayment parameters for relaying over Self::short_channel_id.
payment_constraints: PaymentConstraintsPayment constraints for relaying over Self::short_channel_id.
features: BlindedHopFeaturesSupported and required features when relaying a payment onion containing this object’s
corresponding BlindedHop::encrypted_payload.
next_blinding_override: Option<PublicKey>Set if this BlindedPaymentPath is concatenated to another, to indicate the
BlindedPaymentPath::blinding_point of the appended blinded path.
Trait Implementations§
Source§impl Clone for ForwardTlvs
impl Clone for ForwardTlvs
Source§fn clone(&self) -> ForwardTlvs
fn clone(&self) -> ForwardTlvs
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 ForwardTlvs
impl Debug for ForwardTlvs
Source§impl Writeable for ForwardTlvs
impl Writeable for ForwardTlvs
Auto Trait Implementations§
impl Freeze for ForwardTlvs
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