pub trait AsPaymentHash {
// Required method
fn as_payment_hash(&self) -> PaymentHash;
}Expand description
Trait to capture any type that is associated with a Lightning payment hash
Required Methods§
Sourcefn as_payment_hash(&self) -> PaymentHash
fn as_payment_hash(&self) -> PaymentHash
Get the payment hash associated with this item