Struct lightning::blinded_path::payment::PaymentConstraints
source · pub struct PaymentConstraints {
pub max_cltv_expiry: u32,
pub htlc_minimum_msat: u64,
}
Expand description
Constraints for relaying over a given BlindedHop
.
Fields§
§max_cltv_expiry: u32
The maximum total CLTV that is acceptable when relaying a payment over this BlindedHop
.
htlc_minimum_msat: u64
The minimum value, in msat, that may be accepted by the node corresponding to this
BlindedHop
.
Trait Implementations§
source§impl Clone for PaymentConstraints
impl Clone for PaymentConstraints
source§fn clone(&self) -> PaymentConstraints
fn clone(&self) -> PaymentConstraints
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PaymentConstraints
impl Debug for PaymentConstraints
source§impl Readable for PaymentConstraints
impl Readable for PaymentConstraints
source§impl Writeable for PaymentConstraints
impl Writeable for PaymentConstraints
Auto Trait Implementations§
impl Freeze for PaymentConstraints
impl RefUnwindSafe for PaymentConstraints
impl Send for PaymentConstraints
impl Sync for PaymentConstraints
impl Unpin for PaymentConstraints
impl UnwindSafe for PaymentConstraints
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
Mutably borrows from an owned value. Read more