pub enum PaymentMethodType {
LightningBolt11,
LightningBolt12,
OnChain,
Cashu,
}Expand description
The method that a PossiblyResolvedPaymentMethod will eventually resolve to.
This is useful to determine if you support the required payment mechanism for a
ConfigurableAmountPaymentInstructions before you display an amount selector to the wallet
owner.
Variants§
LightningBolt11
The PossiblyResolvedPaymentMethod will eventually resolve to a
PaymentMethod::LightningBolt11.
LightningBolt12
The PossiblyResolvedPaymentMethod will eventually resolve to a
PaymentMethod::LightningBolt12.
OnChain
The PossiblyResolvedPaymentMethod will eventually resolve to a
PaymentMethod::OnChain.
Cashu
The PossiblyResolvedPaymentMethod will eventually resolve to a
PaymentMethod::Cashu.
Auto Trait Implementations§
impl Freeze for PaymentMethodType
impl RefUnwindSafe for PaymentMethodType
impl Send for PaymentMethodType
impl Sync for PaymentMethodType
impl Unpin for PaymentMethodType
impl UnsafeUnpin for PaymentMethodType
impl UnwindSafe for PaymentMethodType
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