Expand description
A payment identifier used to uniquely identify a payment to LDK. (C-not exported) as we just use [u8; 32] directly
Tuple Fields
0: [u8; 32]
Trait Implementations
sourceimpl Writeable for PaymentId
impl Writeable for PaymentId
sourcefn encode(&self) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
fn encode(&self) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
Writes self out to a Vec
sourcefn serialized_length(&self) -> usize
fn serialized_length(&self) -> usize
Gets the length of this object after it has been serialized. This can be overridden to optimize cases where we prepend an object with its length. Read more
impl Copy for PaymentId
impl Eq for PaymentId
impl StructuralEq for PaymentId
impl StructuralPartialEq for PaymentId
Auto Trait Implementations
impl RefUnwindSafe for PaymentId
impl Send for PaymentId
impl Sync for PaymentId
impl Unpin for PaymentId
impl UnwindSafe for PaymentId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more