pub enum IncomingPaymentOptions {
Bolt11(Bolt11IncomingPaymentOptions),
Bolt12(Box<Bolt12IncomingPaymentOptions>),
}
Expand description
Options for creating an incoming payment request
Variants§
Bolt11(Bolt11IncomingPaymentOptions)
BOLT11 payment request options
Bolt12(Box<Bolt12IncomingPaymentOptions>)
BOLT12 payment request options
Trait Implementations§
Source§impl Clone for IncomingPaymentOptions
impl Clone for IncomingPaymentOptions
Source§fn clone(&self) -> IncomingPaymentOptions
fn clone(&self) -> IncomingPaymentOptions
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 IncomingPaymentOptions
impl Debug for IncomingPaymentOptions
Source§impl Hash for IncomingPaymentOptions
impl Hash for IncomingPaymentOptions
Source§impl PartialEq for IncomingPaymentOptions
impl PartialEq for IncomingPaymentOptions
impl Eq for IncomingPaymentOptions
impl StructuralPartialEq for IncomingPaymentOptions
Auto Trait Implementations§
impl Freeze for IncomingPaymentOptions
impl RefUnwindSafe for IncomingPaymentOptions
impl Send for IncomingPaymentOptions
impl Sync for IncomingPaymentOptions
impl Unpin for IncomingPaymentOptions
impl UnwindSafe for IncomingPaymentOptions
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