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: u64The short channel ID of the channel, i.e. the identifier by which we refer to this channel.
Trait Implementations§
Source§impl<'a> Clone for PublicHopCandidate<'a>
impl<'a> Clone for PublicHopCandidate<'a>
Source§fn clone(&self) -> PublicHopCandidate<'a>
fn clone(&self) -> PublicHopCandidate<'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 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§
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