Struct ForwardTlvs
pub struct ForwardTlvs {
pub short_channel_id: u64,
pub payment_relay: PaymentRelay,
pub payment_constraints: PaymentConstraints,
pub features: Features<BlindedHopContext>,
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: Features<BlindedHopContext>Supported 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§
§impl Clone for ForwardTlvs
impl Clone for ForwardTlvs
§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 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<T> AnySync for T
impl<T> AnySync for T
§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,
§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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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