pub enum Recipient {
Node,
PhantomNode,
}
Expand description
Specifies the recipient of an invoice, to indicate to KeysInterface::sign_invoice
what node
secret key should be used to sign the invoice.
Variants
Node
The invoice should be signed with the local node secret key.
PhantomNode
The invoice should be signed with the phantom node secret key. This secret key must be the same for all nodes participating in the phantom node payment.
Auto Trait Implementations
impl RefUnwindSafe for Recipient
impl Send for Recipient
impl Sync for Recipient
impl Unpin for Recipient
impl UnwindSafe for Recipient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more