Struct lightning::ln::PaymentHash
source · pub struct PaymentHash(pub [u8; 32]);
Expand description
payment_hash type, use to cross-lock hop (C-not exported) as we just use [u8; 32] directly
Tuple Fields§
§0: [u8; 32]
Trait Implementations§
source§impl Clone for PaymentHash
impl Clone for PaymentHash
source§fn clone(&self) -> PaymentHash
fn clone(&self) -> PaymentHash
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PaymentHash
impl Debug for PaymentHash
source§impl Hash for PaymentHash
impl Hash for PaymentHash
source§impl PartialEq<PaymentHash> for PaymentHash
impl PartialEq<PaymentHash> for PaymentHash
source§fn eq(&self, other: &PaymentHash) -> bool
fn eq(&self, other: &PaymentHash) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.