pub struct CodeHash(pub [u8; 32]);
Expand description
Representation of the Wasm code hash.
Tuple Fields§
§0: [u8; 32]
The raw bytes of the hash.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CodeHash
impl<'de> Deserialize<'de> for CodeHash
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 Copy for CodeHash
impl Eq for CodeHash
impl StructuralPartialEq for CodeHash
Auto Trait Implementations§
impl Freeze for CodeHash
impl RefUnwindSafe for CodeHash
impl Send for CodeHash
impl Sync for CodeHash
impl Unpin for CodeHash
impl UnwindSafe for CodeHash
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