Struct ethjson::spec::null_engine::NullEngine
source · [−]pub struct NullEngine {
pub params: NullEngineParams,
}
Expand description
Null engine descriptor
Fields
params: NullEngineParams
Ethash params.
Trait Implementations
sourceimpl Debug for NullEngine
impl Debug for NullEngine
sourceimpl<'de> Deserialize<'de> for NullEngine
impl<'de> Deserialize<'de> for NullEngine
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
sourceimpl PartialEq<NullEngine> for NullEngine
impl PartialEq<NullEngine> for NullEngine
sourcefn eq(&self, other: &NullEngine) -> bool
fn eq(&self, other: &NullEngine) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NullEngine) -> bool
fn ne(&self, other: &NullEngine) -> bool
This method tests for !=
.
impl StructuralPartialEq for NullEngine
Auto Trait Implementations
impl RefUnwindSafe for NullEngine
impl Send for NullEngine
impl Sync for NullEngine
impl Unpin for NullEngine
impl UnwindSafe for NullEngine
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