pub struct Bolt11OutgoingPaymentOptions {
pub bolt11: Bolt11Invoice,
pub max_fee_amount: Option<Amount>,
pub timeout_secs: Option<u64>,
pub melt_options: Option<MeltOptions>,
}
Expand description
Options for BOLT11 outgoing payments
Fields§
§bolt11: Bolt11Invoice
Bolt11
max_fee_amount: Option<Amount>
Maximum fee amount allowed for the payment
timeout_secs: Option<u64>
Optional timeout in seconds
melt_options: Option<MeltOptions>
Melt options
Trait Implementations§
Source§impl Clone for Bolt11OutgoingPaymentOptions
impl Clone for Bolt11OutgoingPaymentOptions
Source§fn clone(&self) -> Bolt11OutgoingPaymentOptions
fn clone(&self) -> Bolt11OutgoingPaymentOptions
Returns a duplicate 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 Bolt11OutgoingPaymentOptions
impl Debug for Bolt11OutgoingPaymentOptions
Source§impl Hash for Bolt11OutgoingPaymentOptions
impl Hash for Bolt11OutgoingPaymentOptions
Source§impl PartialEq for Bolt11OutgoingPaymentOptions
impl PartialEq for Bolt11OutgoingPaymentOptions
Source§fn eq(&self, other: &Bolt11OutgoingPaymentOptions) -> bool
fn eq(&self, other: &Bolt11OutgoingPaymentOptions) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for Bolt11OutgoingPaymentOptions
impl StructuralPartialEq for Bolt11OutgoingPaymentOptions
Auto Trait Implementations§
impl Freeze for Bolt11OutgoingPaymentOptions
impl RefUnwindSafe for Bolt11OutgoingPaymentOptions
impl Send for Bolt11OutgoingPaymentOptions
impl Sync for Bolt11OutgoingPaymentOptions
impl Unpin for Bolt11OutgoingPaymentOptions
impl UnwindSafe for Bolt11OutgoingPaymentOptions
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