Struct openethereum::params::MinerExtras
source · [−]pub struct MinerExtras {
pub author: Address,
pub engine_signer: Address,
pub extra_data: Vec<u8>,
pub gas_range_target: (U256, U256),
pub work_notify: Vec<String>,
pub local_accounts: HashSet<Address>,
}
Fields
engine_signer: Address
extra_data: Vec<u8>
gas_range_target: (U256, U256)
work_notify: Vec<String>
local_accounts: HashSet<Address>
Trait Implementations
sourceimpl Debug for MinerExtras
impl Debug for MinerExtras
sourceimpl Default for MinerExtras
impl Default for MinerExtras
sourceimpl PartialEq<MinerExtras> for MinerExtras
impl PartialEq<MinerExtras> for MinerExtras
sourcefn eq(&self, other: &MinerExtras) -> bool
fn eq(&self, other: &MinerExtras) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MinerExtras) -> bool
fn ne(&self, other: &MinerExtras) -> bool
This method tests for !=
.
impl StructuralPartialEq for MinerExtras
Auto Trait Implementations
impl RefUnwindSafe for MinerExtras
impl Send for MinerExtras
impl Sync for MinerExtras
impl Unpin for MinerExtras
impl UnwindSafe for MinerExtras
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