versatile_data/
option.rs

1use serde::Deserialize;
2
3#[derive(Clone, Deserialize)]
4pub struct DataOption {
5    pub uuid: bool,
6    pub activity: bool,
7    pub term: bool,
8    pub last_updated: bool,
9    pub allocation_lot: u32,
10}
11impl Default for DataOption {
12    fn default() -> Self {
13        Self {
14            uuid: true,
15            activity: true,
16            term: true,
17            last_updated: true,
18            allocation_lot: 1,
19        }
20    }
21}