Enum ClaimMethod
pub enum ClaimMethod {
LnurlWithdraw {
lnurl: String,
withdraw_request: LnurlWithdrawRequest,
},
}Expand description
A single “claim method” – each kind here should correspond with a single linear (inbound) payment flow for a user, where there are no other alternate methods.
Compare with PaymentMethod, which is the outbound equivalent.
Variants§
LnurlWithdraw
Fields
§
withdraw_request: LnurlWithdrawRequestThe LNURL-withdraw request, which includes information about the amount constraints, callback, etc. associated with the LNURL.
Implementations§
§impl ClaimMethod
impl ClaimMethod
Auto Trait Implementations§
impl Freeze for ClaimMethod
impl RefUnwindSafe for ClaimMethod
impl Send for ClaimMethod
impl Sync for ClaimMethod
impl Unpin for ClaimMethod
impl UnwindSafe for ClaimMethod
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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