pub struct HeaderBuilder { /* private fields */ }
Implementations§
Source§impl HeaderBuilder
impl HeaderBuilder
pub const TOTAL_SIZE: usize = 208usize
pub const FIELD_SIZES: [usize; 2] = _
pub const FIELD_COUNT: usize = 2usize
pub fn raw(self, v: RawHeader) -> HeaderBuilder
pub fn nonce(self, v: Uint128) -> HeaderBuilder
Trait Implementations§
Source§impl Builder for HeaderBuilder
impl Builder for HeaderBuilder
Source§impl Debug for HeaderBuilder
impl Debug for HeaderBuilder
Source§impl Default for HeaderBuilder
impl Default for HeaderBuilder
Source§fn default() -> HeaderBuilder
fn default() -> HeaderBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for HeaderBuilder
impl RefUnwindSafe for HeaderBuilder
impl Send for HeaderBuilder
impl Sync for HeaderBuilder
impl Unpin for HeaderBuilder
impl UnwindSafe for HeaderBuilder
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