Struct ckb_types::packed::CompactBlockV1Builder
source · 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 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