pub struct PubKey(pub [u8; 33]);
Tuple Fields§
§0: [u8; 33]
Trait Implementations§
Source§impl BigEndianEncodable for PubKey
impl BigEndianEncodable for PubKey
Source§impl Into<DelayedPaymentBasepoint> for PubKey
impl Into<DelayedPaymentBasepoint> for PubKey
Source§fn into(self) -> DelayedPaymentBasepoint
fn into(self) -> DelayedPaymentBasepoint
Converts this type into the (usually inferred) input type.
Source§impl Into<HtlcBasepoint> for PubKey
impl Into<HtlcBasepoint> for PubKey
Source§fn into(self) -> HtlcBasepoint
fn into(self) -> HtlcBasepoint
Converts this type into the (usually inferred) input type.
Source§impl Into<RevocationBasepoint> for PubKey
impl Into<RevocationBasepoint> for PubKey
Source§fn into(self) -> RevocationBasepoint
fn into(self) -> RevocationBasepoint
Converts this type into the (usually inferred) input type.
Source§impl Writeable for PubKey
impl Writeable for PubKey
Auto Trait Implementations§
impl Freeze for PubKey
impl RefUnwindSafe for PubKey
impl Send for PubKey
impl Sync for PubKey
impl Unpin for PubKey
impl UnwindSafe for PubKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for T
impl<T> Downcast for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more