[][src]Struct lightning::ln::router::RouteHop

pub struct RouteHop {
    pub pubkey: PublicKey,
    pub short_channel_id: u64,
    pub fee_msat: u64,
    pub cltv_expiry_delta: u32,
}

A hop in a route

Fields

pubkey: PublicKey

The node_id of the node at this hop.

short_channel_id: u64

The channel that should be used from the previous hop to reach this node.

fee_msat: u64

The fee taken on this hop. For the last hop, this should be the full value of the payment.

cltv_expiry_delta: u32

The CLTV delta added for this hop. For the last hop, this should be the full CLTV value expected at the destination, in excess of the current block height.

Trait Implementations

impl Clone for RouteHop[src]

impl PartialEq<RouteHop> for RouteHop[src]

impl StructuralPartialEq for RouteHop[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.