1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![allow(unused_imports)]

use serde::{Deserialize, Serialize};

pub use body::*;
pub use header::*;

mod body;
mod header;

#[derive(Debug, Clone, PartialEq, Eq, Deserialize, Serialize)]
pub struct Block {
    pub head: BlockHeader,
    pub body: Option<BlockBody>,
}