pub struct TrampolineForwardTlvs {
pub next_trampoline: PublicKey,
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 Trampoline payment.
Fields§
§next_trampoline: PublicKeyThe node id to which the trampoline node must find a route.
payment_relay: PaymentRelayPayment parameters for relaying over Self::next_trampoline.
payment_constraints: PaymentConstraintsPayment constraints for relaying over Self::next_trampoline.
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 TrampolineForwardTlvs
impl Clone for TrampolineForwardTlvs
Source§fn clone(&self) -> TrampolineForwardTlvs
fn clone(&self) -> TrampolineForwardTlvs
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 TrampolineForwardTlvs
impl Debug for TrampolineForwardTlvs
Source§impl Writeable for TrampolineForwardTlvs
impl Writeable for TrampolineForwardTlvs
Auto Trait Implementations§
impl Freeze for TrampolineForwardTlvs
impl RefUnwindSafe for TrampolineForwardTlvs
impl Send for TrampolineForwardTlvs
impl Sync for TrampolineForwardTlvs
impl Unpin for TrampolineForwardTlvs
impl UnwindSafe for TrampolineForwardTlvs
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