pub struct Hash256(pub [u8; 32]);Expand description
A 256-bit hash value.
Tuple Fields§
§0: [u8; 32]Trait Implementations§
Source§impl<'de> Deserialize<'de> for Hash256
impl<'de> Deserialize<'de> for Hash256
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 UnsafeUnpin 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