pub enum CodeHash {
Index(CodeHashIndex),
Data {
hash_type: CodeHashType,
content: [u8; 32],
},
}Expand description
Code Hash
Variants§
Trait Implementations§
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