pub enum Approval {
Invoice(Invoice),
KeySend(PaymentHash, u64),
Onchain(Transaction),
}Expand description
An approval that is memorized by MemoApprover
Variants§
Invoice(Invoice)
An invoice was approved
KeySend(PaymentHash, u64)
A keysend was approved
Onchain(Transaction)
An onchain transaction was approved
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Approval
impl RefUnwindSafe for Approval
impl Send for Approval
impl Sync for Approval
impl Unpin for Approval
impl UnwindSafe for Approval
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