pub struct OneHopBlindedPathCandidate<'a> {
pub source_node_id: &'a NodeId,
pub hint: &'a BlindedPaymentPath,
/* private fields */
}Expand description
A CandidateRouteHop::OneHopBlinded entry.
Fields§
§source_node_id: &'a NodeIdThe node id of the introduction node, resolved from either the NetworkGraph or first
hops.
This is not exported to bindings users as lifetimes are not expressible in most languages.
hint: &'a BlindedPaymentPathInformation about the blinded path including the fee, HTLC amount limits, and cryptographic material required to build an HTLC terminating with the given path.
Note that the BlindedPayInfo is ignored here.
This is not exported to bindings users as lifetimes are not expressible in most languages.
Trait Implementations§
Source§impl<'a> Clone for OneHopBlindedPathCandidate<'a>
impl<'a> Clone for OneHopBlindedPathCandidate<'a>
Source§fn clone(&self) -> OneHopBlindedPathCandidate<'a>
fn clone(&self) -> OneHopBlindedPathCandidate<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for OneHopBlindedPathCandidate<'a>
impl<'a> RefUnwindSafe for OneHopBlindedPathCandidate<'a>
impl<'a> Send for OneHopBlindedPathCandidate<'a>
impl<'a> Sync for OneHopBlindedPathCandidate<'a>
impl<'a> Unpin for OneHopBlindedPathCandidate<'a>
impl<'a> UnwindSafe for OneHopBlindedPathCandidate<'a>
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