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