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