Struct ethcore::engines::InstantSealParams
source · [−]pub struct InstantSealParams {
pub millisecond_timestamp: bool,
}
Expand description
InstantSeal
params.
Fields
millisecond_timestamp: bool
Whether to use millisecond timestamp
Trait Implementations
sourceimpl Debug for InstantSealParams
impl Debug for InstantSealParams
sourceimpl Default for InstantSealParams
impl Default for InstantSealParams
sourcefn default() -> InstantSealParams
fn default() -> InstantSealParams
Returns the “default value” for a type. Read more
sourceimpl From<InstantSealParams> for InstantSealParams
impl From<InstantSealParams> for InstantSealParams
sourcefn from(p: InstantSealParams) -> Self
fn from(p: InstantSealParams) -> Self
Performs the conversion.
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