pub struct BlockHeaderEntry {
pub hash: [u8; 32],
pub height: u64,
pub prev_hash: [u8; 32],
pub merkle_root: [u8; 32],
pub confirmations: u64,
}Expand description
Block header entry
Fields§
§hash: [u8; 32]§height: u64§prev_hash: [u8; 32]§merkle_root: [u8; 32]§confirmations: u64Trait Implementations§
Source§impl Clone for BlockHeaderEntry
impl Clone for BlockHeaderEntry
Source§fn clone(&self) -> BlockHeaderEntry
fn clone(&self) -> BlockHeaderEntry
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for BlockHeaderEntry
impl RefUnwindSafe for BlockHeaderEntry
impl Send for BlockHeaderEntry
impl Sync for BlockHeaderEntry
impl Unpin for BlockHeaderEntry
impl UnsafeUnpin for BlockHeaderEntry
impl UnwindSafe for BlockHeaderEntry
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