1 2 3 4 5 6 7 8 9 10 11 12
use serde::Serialize; #[derive(Debug, Clone, PartialEq, Serialize)] pub struct NumberingId { pub id: usize, } impl NumberingId { pub fn new(id: usize) -> NumberingId { NumberingId { id } } }