pub struct Header {
pub protocol_magic: u64,
pub previous_hash: HeaderHash,
pub body_proof: BodyProof,
pub consensus: Consensus,
pub extra_data: AnyCbor,
}
Fields§
§protocol_magic: u64
§previous_hash: HeaderHash
§body_proof: BodyProof
§consensus: Consensus
§extra_data: AnyCbor
Implementations§
Trait Implementations§
impl Eq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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