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