Struct PublicHopCandidate
pub struct PublicHopCandidate<'a> {
pub info: DirectedChannelInfo<'a>,
pub short_channel_id: u64,
}
Expand description
A CandidateRouteHop::PublicHop
entry.
Fields§
§info: DirectedChannelInfo<'a>
Information about the channel, including potentially its capacity and direction-specific information.
This is not exported to bindings users as lifetimes are not expressible in most languages.
short_channel_id: u64
The short channel ID of the channel, i.e. the identifier by which we refer to this channel.
Trait Implementations§
§impl<'a> Clone for PublicHopCandidate<'a>
impl<'a> Clone for PublicHopCandidate<'a>
§fn clone(&self) -> PublicHopCandidate<'a>
fn clone(&self) -> PublicHopCandidate<'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 PublicHopCandidate<'a>
impl<'a> RefUnwindSafe for PublicHopCandidate<'a>
impl<'a> Send for PublicHopCandidate<'a>
impl<'a> Sync for PublicHopCandidate<'a>
impl<'a> Unpin for PublicHopCandidate<'a>
impl<'a> UnwindSafe for PublicHopCandidate<'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