Struct PrivateHopCandidate
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 RouteHintHop
Information 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 NodeId
Node 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§
§impl<'a> Clone for PrivateHopCandidate<'a>
impl<'a> Clone for PrivateHopCandidate<'a>
§fn clone(&self) -> PrivateHopCandidate<'a>
fn clone(&self) -> PrivateHopCandidate<'a>
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 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§
§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> 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
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