pub struct IndexedBlock {
pub height: u32,
pub block: Block,
}Expand description
A Bitcoin Block with associated height.
Fields§
§height: u32The height or index in the chain.
block: BlockThe Bitcoin block with some matching script.
Trait Implementations§
Source§impl Clone for IndexedBlock
impl Clone for IndexedBlock
Source§fn clone(&self) -> IndexedBlock
fn clone(&self) -> IndexedBlock
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 IndexedBlock
impl RefUnwindSafe for IndexedBlock
impl Send for IndexedBlock
impl Sync for IndexedBlock
impl Unpin for IndexedBlock
impl UnwindSafe for IndexedBlock
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