pub struct Hash20<'a>(pub &'a [u8; 20]);Expand description
A 20-byte hash (RIPEMD-160 of SHA-256, used in P2PKH / P2SH addresses).
Tuple Fields§
§0: &'a [u8; 20]Trait Implementations§
impl<'a> Copy for Hash20<'a>
impl<'a> Eq for Hash20<'a>
impl<'a> StructuralPartialEq for Hash20<'a>
Auto Trait Implementations§
impl<'a> Freeze for Hash20<'a>
impl<'a> RefUnwindSafe for Hash20<'a>
impl<'a> Send for Hash20<'a>
impl<'a> Sync for Hash20<'a>
impl<'a> Unpin for Hash20<'a>
impl<'a> UnsafeUnpin for Hash20<'a>
impl<'a> UnwindSafe for Hash20<'a>
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