pub struct RouteHint(pub Vec<RouteHintHop>);
Expand description
A list of hops along a payment path terminating with a channel to the recipient.
Tuple Fields
0: Vec<RouteHintHop>
Trait Implementations
sourceimpl PartialEq<RouteHint> for RouteHint
impl PartialEq<RouteHint> for RouteHint
sourceimpl Writeable for RouteHint
impl Writeable for RouteHint
sourcefn write<W: Writer>(&self, writer: &mut W) -> Result<(), Error>
fn write<W: Writer>(&self, writer: &mut W) -> Result<(), Error>
Writes self out to the given Writer
sourcefn encode(&self) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn encode(&self) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
Writes self out to a Vec
sourcefn serialized_length(&self) -> usize
fn serialized_length(&self) -> usize
Gets the length of this object after it has been serialized. This can be overridden to optimize cases where we prepend an object with its length. Read more
impl Eq for RouteHint
impl StructuralEq for RouteHint
impl StructuralPartialEq for RouteHint
Auto Trait Implementations
impl RefUnwindSafe for RouteHint
impl Send for RouteHint
impl Sync for RouteHint
impl Unpin for RouteHint
impl UnwindSafe for RouteHint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more