pub struct PrivateHopCandidate<'a> {
pub hint: &'a RouteHintHop,
pub target_node_id: &'a NodeId,
/* private fields */
}Expand description
A CandidateRouteHop::PrivateHop entry.
Fields§
§hint: &'a RouteHintHopInformation about the private hop communicated via BOLT 11.
This is not exported to bindings users as lifetimes are not expressible in most languages.
target_node_id: &'a NodeIdNode id of the next hop in BOLT 11 route hint.
This is not exported to bindings users as lifetimes are not expressible in most languages.
Trait Implementations§
Source§impl<'a> Clone for PrivateHopCandidate<'a>
impl<'a> Clone for PrivateHopCandidate<'a>
Source§fn clone(&self) -> PrivateHopCandidate<'a>
fn clone(&self) -> PrivateHopCandidate<'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 PrivateHopCandidate<'a>
impl<'a> RefUnwindSafe for PrivateHopCandidate<'a>
impl<'a> Send for PrivateHopCandidate<'a>
impl<'a> Sync for PrivateHopCandidate<'a>
impl<'a> Unpin for PrivateHopCandidate<'a>
impl<'a> UnwindSafe for PrivateHopCandidate<'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