Struct 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 BlindedPaymentPath.
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§
§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<T> AnyEq for T
impl<T> AnyEq for T
§impl<T> AnySync for T
impl<T> AnySync for T
§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§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<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<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> 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 moreSource§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