Struct invoice::LnPathHint[][src]

pub struct LnPathHint {
    pub node_id: PublicKey,
    pub short_channel_id: ShortChannelId,
    pub fee_base_msat: u32,
    pub fee_proportional_millionths: u32,
    pub cltv_expiry_delta: u16,
}

Path hints for a lightning network payment, equal to the value of the r key of the lightning BOLT-11 invoice https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md#tagged-fields

Fields

node_id: PublicKeyshort_channel_id: ShortChannelIdfee_base_msat: u32fee_proportional_millionths: u32cltv_expiry_delta: u16

Trait Implementations

impl Clone for LnPathHint[src]

impl Copy for LnPathHint[src]

impl Debug for LnPathHint[src]

impl Display for LnPathHint[src]

impl Eq for LnPathHint[src]

impl Hash for LnPathHint[src]

impl LightningDecode for LnPathHint[src]

impl LightningEncode for LnPathHint[src]

impl Ord for LnPathHint[src]

impl PartialEq<LnPathHint> for LnPathHint[src]

impl PartialOrd<LnPathHint> for LnPathHint[src]

impl StrictDecode for LnPathHint[src]

impl StrictEncode for LnPathHint[src]

impl StructuralEq for LnPathHint[src]

impl StructuralPartialEq for LnPathHint[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> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = Infallible

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,