pub struct ReceiveTlvs { /* private fields */ }Expand description
Data to construct a BlindedHop for receiving a payment. This payload is custom to LDK and
may not be valid if received by another lightning implementation.
Can only be constructed by calling UnauthenticatedReceiveTlvs::authenticate.
Implementations§
Source§impl ReceiveTlvs
impl ReceiveTlvs
Sourcepub fn tlvs(&self) -> &UnauthenticatedReceiveTlvs
pub fn tlvs(&self) -> &UnauthenticatedReceiveTlvs
Returns the underlying TLVs.
Trait Implementations§
Source§impl Clone for ReceiveTlvs
impl Clone for ReceiveTlvs
Source§fn clone(&self) -> ReceiveTlvs
fn clone(&self) -> ReceiveTlvs
Returns a duplicate 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 ReceiveTlvs
impl Debug for ReceiveTlvs
Source§impl Writeable for ReceiveTlvs
impl Writeable for ReceiveTlvs
Auto Trait Implementations§
impl Freeze for ReceiveTlvs
impl RefUnwindSafe for ReceiveTlvs
impl Send for ReceiveTlvs
impl Sync for ReceiveTlvs
impl Unpin for ReceiveTlvs
impl UnwindSafe for ReceiveTlvs
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