pub struct Hash256(pub [u8; 32]);
Expand description
256-bit hash for blocks and transactions
It is interpreted as a single little-endian number for display.
Tuple Fields§
§0: [u8; 32]
Implementations§
Trait Implementations§
Source§impl Ord for Hash256
impl Ord for Hash256
Source§impl PartialOrd for Hash256
impl PartialOrd for Hash256
Source§impl Serializable<Hash256> for Hash256
impl Serializable<Hash256> for Hash256
impl Copy for Hash256
impl Eq for Hash256
impl StructuralPartialEq for Hash256
Auto Trait Implementations§
impl Freeze for Hash256
impl RefUnwindSafe for Hash256
impl Send for Hash256
impl Sync for Hash256
impl Unpin for Hash256
impl UnwindSafe for Hash256
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