1#[derive(Debug, Clone, PartialEq)] 2pub struct BlockId(pub u64); 3 4impl BlockId { 5 pub fn new(id: u64) -> Self { 6 Self(id) 7 } 8 pub fn get(&self) -> u64 { 9 self.0 10 } 11}