Struct ForwardTlvs
pub struct ForwardTlvs {
pub short_channel_id: u64,
pub payment_relay: PaymentRelay,
pub payment_constraints: PaymentConstraints,
pub features: Features<BlindedHopContext>,
}
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: Features<BlindedHopContext>
Supported and required features when relaying a payment onion containing this object’s
corresponding BlindedHop::encrypted_payload
.
Trait Implementations§
§impl Clone for ForwardTlvs
impl Clone for ForwardTlvs
§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 more§impl Debug for ForwardTlvs
impl Debug for ForwardTlvs
§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§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request