#[repr(C)]pub struct btc_blockheader {}Fields§
§hash: bytes32_t§confirmations: u32§height: u32§version: u32§merkleroot: bytes32_t§time: u32§nonce: u32§bits: [u8; 4]§chainwork: bytes32_t§n_tx: u32§previous_hash: bytes32_t§next_hash: bytes32_t§data: [u8; 80]Trait Implementations§
Source§impl Clone for btc_blockheader
impl Clone for btc_blockheader
Source§fn clone(&self) -> btc_blockheader
fn clone(&self) -> btc_blockheader
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for btc_blockheader
impl Debug for btc_blockheader
impl Copy for btc_blockheader
Auto Trait Implementations§
impl Freeze for btc_blockheader
impl RefUnwindSafe for btc_blockheader
impl Send for btc_blockheader
impl Sync for btc_blockheader
impl Unpin for btc_blockheader
impl UnwindSafe for btc_blockheader
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