Struct breez_sdk_liquid::lightning::offers::invoice::BlindedPayInfo
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: u32
Base fee charged (in millisatoshi) for the entire blinded path.
fee_proportional_millionths: u32
Liquidity fee charged (in millionths of the amount transferred) for the entire blinded path (i.e., 10,000 is 1%).
cltv_expiry_delta: u16
Number of blocks subtracted from an incoming HTLC’s cltv_expiry
for the entire blinded
path.
htlc_minimum_msat: u64
The 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: u64
The 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§
§impl Clone for BlindedPayInfo
impl Clone for BlindedPayInfo
§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 more§impl Debug for BlindedPayInfo
impl Debug for BlindedPayInfo
§impl Hash for BlindedPayInfo
impl Hash for BlindedPayInfo
§impl PartialEq for BlindedPayInfo
impl PartialEq for BlindedPayInfo
§impl Readable for BlindedPayInfo
impl Readable for BlindedPayInfo
§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
.§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§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request