pub struct BlockV1Builder { /* private fields */ }
Implementations§
Source§impl BlockV1Builder
impl BlockV1Builder
pub const FIELD_COUNT: usize = 5usize
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
pub fn extension(self, v: Bytes) -> Self
Trait Implementations§
Source§impl Builder for BlockV1Builder
impl Builder for BlockV1Builder
Source§impl Debug for BlockV1Builder
impl Debug for BlockV1Builder
Source§impl Default for BlockV1Builder
impl Default for BlockV1Builder
Source§fn default() -> BlockV1Builder
fn default() -> BlockV1Builder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for BlockV1Builder
impl RefUnwindSafe for BlockV1Builder
impl Send for BlockV1Builder
impl Sync for BlockV1Builder
impl Unpin for BlockV1Builder
impl UnwindSafe for BlockV1Builder
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