pub struct Ethash {
pub params: EthashParams,
}
Expand description
Ethash engine deserialization.
Fields
params: EthashParams
Ethash params.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Ethash
impl<'de> Deserialize<'de> for Ethash
sourcefn 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 StructuralPartialEq for Ethash
Auto Trait Implementations
impl RefUnwindSafe for Ethash
impl Send for Ethash
impl Sync for Ethash
impl Unpin for Ethash
impl UnwindSafe for Ethash
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more