Struct lightning_signer::invoice::bolt12::BlindedPayInfo
source · pub struct BlindedPayInfo {
pub fee_base_msat: u32,
pub fee_proportional_millionths: u32,
pub cltv_expiry_delta: u16,
pub htlc_minimum_msat: u64,
pub htlc_maximum_msat: u64,
pub features: Features<BlindedHopContext>,
}Expand description
Information needed to route a payment across a BlindedPath.
Fields§
§fee_base_msat: u32Base fee charged (in millisatoshi) for the entire blinded path.
fee_proportional_millionths: u32Liquidity fee charged (in millionths of the amount transferred) for the entire blinded path (i.e., 10,000 is 1%).
cltv_expiry_delta: u16Number of blocks subtracted from an incoming HTLC’s cltv_expiry for the entire blinded
path.
htlc_minimum_msat: u64The minimum HTLC value (in millisatoshi) that is acceptable to all channel peers on the blinded path from the introduction node to the recipient, accounting for any fees, i.e., as seen by the recipient.
htlc_maximum_msat: u64The maximum HTLC value (in millisatoshi) that is acceptable to all channel peers on the blinded path from the introduction node to the recipient, accounting for any fees, i.e., as seen by the recipient.
features: Features<BlindedHopContext>Features set in encrypted_data_tlv for the encrypted_recipient_data TLV record in an
onion payload.
Trait Implementations§
source§impl Clone for BlindedPayInfo
impl Clone for BlindedPayInfo
source§fn clone(&self) -> BlindedPayInfo
fn clone(&self) -> BlindedPayInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BlindedPayInfo
impl Debug for BlindedPayInfo
source§impl Hash for BlindedPayInfo
impl Hash for BlindedPayInfo
source§impl PartialEq for BlindedPayInfo
impl PartialEq for BlindedPayInfo
source§fn eq(&self, other: &BlindedPayInfo) -> bool
fn eq(&self, other: &BlindedPayInfo) -> bool
self and other values to be equal, and is used
by ==.source§impl Readable for BlindedPayInfo
impl Readable for BlindedPayInfo
source§fn read<R>(r: &mut R) -> Result<BlindedPayInfo, DecodeError>where
R: Read,
fn read<R>(r: &mut R) -> Result<BlindedPayInfo, DecodeError>where
R: Read,
Self in from the given Read.source§impl Writeable for BlindedPayInfo
impl Writeable for BlindedPayInfo
impl Eq for BlindedPayInfo
impl StructuralPartialEq for BlindedPayInfo
Auto Trait Implementations§
impl Freeze for BlindedPayInfo
impl RefUnwindSafe for BlindedPayInfo
impl Send for BlindedPayInfo
impl Sync for BlindedPayInfo
impl Unpin for BlindedPayInfo
impl UnwindSafe for BlindedPayInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more