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