Enum lightning_signer::node::Allowable
source · pub enum Allowable {
Script(Script),
XPub(ExtendedPubKey),
Payee(PublicKey),
}
Expand description
Allowlist entry
Variants§
Script(Script)
A layer-1 destination
XPub(ExtendedPubKey)
A layer-1 xpub destination
Payee(PublicKey)
A layer-2 payee (node_id)
Implementations§
Trait Implementations§
source§impl PartialEq<Allowable> for Allowable
impl PartialEq<Allowable> for Allowable
source§impl ToStringForNetwork for Allowable
impl ToStringForNetwork for Allowable
impl Eq for Allowable
impl StructuralEq for Allowable
impl StructuralPartialEq for Allowable
Auto Trait Implementations§
impl RefUnwindSafe for Allowable
impl Send for Allowable
impl Sync for Allowable
impl Unpin for Allowable
impl UnwindSafe for Allowable
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.