Struct ckb_types::packed::BlockV1Builder
source · pub struct BlockV1Builder { /* private fields */ }
Implementations§
source§impl BlockV1Builder
impl BlockV1Builder
pub const FIELD_COUNT: usize = 5usize
pub fn header(self, v: Header) -> BlockV1Builder
pub fn uncles(self, v: UncleBlockVec) -> BlockV1Builder
pub fn transactions(self, v: TransactionVec) -> BlockV1Builder
pub fn proposals(self, v: ProposalShortIdVec) -> BlockV1Builder
pub fn extension(self, v: Bytes) -> BlockV1Builder
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 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