pub struct Bolt12OutgoingPaymentOptions {
pub offer: Offer,
pub max_fee_amount: Option<Amount>,
pub timeout_secs: Option<u64>,
pub melt_options: Option<MeltOptions>,
}
Expand description
Options for BOLT12 outgoing payments
Fields§
§offer: Offer
Offer
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 Bolt12OutgoingPaymentOptions
impl Clone for Bolt12OutgoingPaymentOptions
Source§fn clone(&self) -> Bolt12OutgoingPaymentOptions
fn clone(&self) -> Bolt12OutgoingPaymentOptions
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 Bolt12OutgoingPaymentOptions
impl Debug for Bolt12OutgoingPaymentOptions
Source§impl Hash for Bolt12OutgoingPaymentOptions
impl Hash for Bolt12OutgoingPaymentOptions
Source§impl PartialEq for Bolt12OutgoingPaymentOptions
impl PartialEq for Bolt12OutgoingPaymentOptions
Source§fn eq(&self, other: &Bolt12OutgoingPaymentOptions) -> bool
fn eq(&self, other: &Bolt12OutgoingPaymentOptions) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for Bolt12OutgoingPaymentOptions
impl StructuralPartialEq for Bolt12OutgoingPaymentOptions
Auto Trait Implementations§
impl Freeze for Bolt12OutgoingPaymentOptions
impl RefUnwindSafe for Bolt12OutgoingPaymentOptions
impl Send for Bolt12OutgoingPaymentOptions
impl Sync for Bolt12OutgoingPaymentOptions
impl Unpin for Bolt12OutgoingPaymentOptions
impl UnwindSafe for Bolt12OutgoingPaymentOptions
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