Struct lightning::ln::PaymentPreimage
source · pub struct PaymentPreimage(pub [u8; 32]);
Expand description
payment_preimage type, use to route payment between hop
This is not exported to bindings users 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 ==
.source§impl Readable for PaymentPreimage
impl Readable for PaymentPreimage
source§impl Writeable for PaymentPreimage
impl Writeable for PaymentPreimage
impl Copy for PaymentPreimage
impl Eq for PaymentPreimage
impl StructuralEq for PaymentPreimage
impl StructuralPartialEq for PaymentPreimage
Auto Trait Implementations§
impl RefUnwindSafe for PaymentPreimage
impl Send for PaymentPreimage
impl Sync for PaymentPreimage
impl Unpin for PaymentPreimage
impl UnwindSafe for PaymentPreimage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more