pub struct HeaderContentEvalContext {
pub(crate) block_date: BlockDate,
pub(crate) chain_length: ChainLength,
pub(crate) content_hash: BlockContentHash,
pub(crate) consensus_eval_context: ConsensusEvalContext,
}
Expand description
This is the data extracted from a header related to content evaluation
Fields§
§block_date: BlockDate
§chain_length: ChainLength
§content_hash: BlockContentHash
§consensus_eval_context: ConsensusEvalContext
Trait Implementations§
source§impl Clone for HeaderContentEvalContext
impl Clone for HeaderContentEvalContext
source§fn clone(&self) -> HeaderContentEvalContext
fn clone(&self) -> HeaderContentEvalContext
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 moreAuto Trait Implementations§
impl RefUnwindSafe for HeaderContentEvalContext
impl Send for HeaderContentEvalContext
impl Sync for HeaderContentEvalContext
impl Unpin for HeaderContentEvalContext
impl UnwindSafe for HeaderContentEvalContext
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