Struct ethcore_blockchain::generator::BlockOptions
source · [−]pub struct BlockOptions {
pub difficulty: U256,
pub bloom: Bloom,
pub transactions: Vec<SignedTransaction>,
}
Expand description
Specify block options for generator
Fields
difficulty: U256
Difficulty
bloom: Bloom
Set bloom filter
transactions: Vec<SignedTransaction>
Transactions included in blocks
Trait Implementations
sourceimpl Debug for BlockOptions
impl Debug for BlockOptions
Auto Trait Implementations
impl RefUnwindSafe for BlockOptions
impl Send for BlockOptions
impl Sync for BlockOptions
impl Unpin for BlockOptions
impl UnwindSafe for BlockOptions
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