Struct lightning::ln::channelmanager::InterceptId
source · pub struct InterceptId(pub [u8; 32]);
Expand description
An identifier used to uniquely identify an intercepted HTLC to LDK.
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 InterceptId
impl Clone for InterceptId
source§fn clone(&self) -> InterceptId
fn clone(&self) -> InterceptId
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 InterceptId
impl Debug for InterceptId
source§impl Hash for InterceptId
impl Hash for InterceptId
source§impl PartialEq for InterceptId
impl PartialEq for InterceptId
source§fn eq(&self, other: &InterceptId) -> bool
fn eq(&self, other: &InterceptId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Readable for InterceptId
impl Readable for InterceptId
source§impl Writeable for InterceptId
impl Writeable for InterceptId
impl Copy for InterceptId
impl Eq for InterceptId
impl StructuralPartialEq for InterceptId
Auto Trait Implementations§
impl Freeze for InterceptId
impl RefUnwindSafe for InterceptId
impl Send for InterceptId
impl Sync for InterceptId
impl Unpin for InterceptId
impl UnwindSafe for InterceptId
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