pub struct KeyArg(pub [u8; 32]);Expand description
A 32-byte public key or channel key, written as base58 or hex.
Tuple Fields§
§0: [u8; 32]Trait Implementations§
impl Copy for KeyArg
impl Eq for KeyArg
impl StructuralPartialEq for KeyArg
Auto Trait Implementations§
impl Freeze for KeyArg
impl RefUnwindSafe for KeyArg
impl Send for KeyArg
impl Sync for KeyArg
impl Unpin for KeyArg
impl UnwindSafe for KeyArg
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)