Struct bitcoin_block_parser::ParsedBlock
source · pub struct ParsedBlock {
pub block: Block,
/* private fields */
}
Expand description
Contains a block that has been parsed and additional metadata we have derived about it
Fields§
§block: Block
Underlying parsed block from bitcoin::Block
Implementations§
source§impl ParsedBlock
impl ParsedBlock
sourcepub fn transactions(&self) -> Zip<Iter<'_, Transaction>, Iter<'_, Txid>>
pub fn transactions(&self) -> Zip<Iter<'_, Transaction>, Iter<'_, Txid>>
Return all Transaction
with Txid
already calculated
Trait Implementations§
source§impl Clone for ParsedBlock
impl Clone for ParsedBlock
source§fn clone(&self) -> ParsedBlock
fn clone(&self) -> ParsedBlock
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 ParsedBlock
impl Debug for ParsedBlock
source§impl PartialEq for ParsedBlock
impl PartialEq for ParsedBlock
impl Eq for ParsedBlock
impl StructuralPartialEq for ParsedBlock
Auto Trait Implementations§
impl Freeze for ParsedBlock
impl RefUnwindSafe for ParsedBlock
impl Send for ParsedBlock
impl Sync for ParsedBlock
impl Unpin for ParsedBlock
impl UnwindSafe for ParsedBlock
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)