Struct lightning::routing::router::RouteParameters
source · pub struct RouteParameters {
pub payment_params: PaymentParameters,
pub final_value_msat: u64,
}
Expand description
Parameters needed to find a Route
.
Passed to find_route
and build_route_from_hops
, but also provided in
Event::PaymentPathFailed
.
Fields§
§payment_params: PaymentParameters
The parameters of the failed payment path.
final_value_msat: u64
The amount in msats sent on the failed payment path.
Trait Implementations§
source§impl Clone for RouteParameters
impl Clone for RouteParameters
source§fn clone(&self) -> RouteParameters
fn clone(&self) -> RouteParameters
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 moresource§impl Debug for RouteParameters
impl Debug for RouteParameters
source§impl PartialEq<RouteParameters> for RouteParameters
impl PartialEq<RouteParameters> for RouteParameters
source§fn eq(&self, other: &RouteParameters) -> bool
fn eq(&self, other: &RouteParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Readable for RouteParameters
impl Readable for RouteParameters
source§impl Writeable for RouteParameters
impl Writeable for RouteParameters
impl Eq for RouteParameters
impl StructuralEq for RouteParameters
impl StructuralPartialEq for RouteParameters
Auto Trait Implementations§
impl RefUnwindSafe for RouteParameters
impl Send for RouteParameters
impl Sync for RouteParameters
impl Unpin for RouteParameters
impl UnwindSafe for RouteParameters
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