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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.