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
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".