pub struct BlockBuilder { /* private fields */ }
Implementations§
Source§impl BlockBuilder
impl BlockBuilder
pub const FIELD_COUNT: usize = 4usize
pub fn header(self, v: Header) -> Self
pub fn uncles(self, v: UncleBlockVec) -> Self
pub fn transactions(self, v: TransactionVec) -> Self
pub fn proposals(self, v: ProposalShortIdVec) -> Self
Trait Implementations§
Source§impl Builder for BlockBuilder
impl Builder for BlockBuilder
Source§impl Debug for BlockBuilder
impl Debug for BlockBuilder
Source§impl Default for BlockBuilder
impl Default for BlockBuilder
Source§fn default() -> BlockBuilder
fn default() -> BlockBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for BlockBuilder
impl RefUnwindSafe for BlockBuilder
impl Send for BlockBuilder
impl Sync for BlockBuilder
impl Unpin for BlockBuilder
impl UnwindSafe for BlockBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more