Struct lightning::ln::PaymentPreimage
source · pub struct PaymentPreimage(pub [u8; 32]);
Expand description
payment_preimage type, use to route payment between hop (C-not exported) as we just use [u8; 32] directly
Tuple Fields§
§0: [u8; 32]
Trait Implementations§
source§impl Clone for PaymentPreimage
impl Clone for PaymentPreimage
source§fn clone(&self) -> PaymentPreimage
fn clone(&self) -> PaymentPreimage
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 PaymentPreimage
impl Debug for PaymentPreimage
source§impl Hash for PaymentPreimage
impl Hash for PaymentPreimage
source§impl PartialEq<PaymentPreimage> for PaymentPreimage
impl PartialEq<PaymentPreimage> for PaymentPreimage
source§fn eq(&self, other: &PaymentPreimage) -> bool
fn eq(&self, other: &PaymentPreimage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.