Struct lightning::ln::channelmanager::PaymentId
source · pub struct PaymentId(pub [u8; 32]);
Expand description
A user-provided identifier in ChannelManager::send_payment
used to uniquely identify
a payment and ensure idempotency in LDK.
This is not exported to bindings users as we just use [u8; 32] directly
Tuple Fields§
§0: [u8; 32]
Implementations§
Trait Implementations§
source§impl PartialEq for PaymentId
impl PartialEq for PaymentId
source§impl Writeable for PaymentId
impl Writeable for PaymentId
impl Copy for PaymentId
impl Eq for PaymentId
impl StructuralPartialEq for PaymentId
Auto Trait Implementations§
impl Freeze for PaymentId
impl RefUnwindSafe for PaymentId
impl Send for PaymentId
impl Sync for PaymentId
impl Unpin for PaymentId
impl UnwindSafe for PaymentId
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