1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use serde::Deserialize;

#[derive(Clone, Deserialize)]
pub struct DataOption {
    pub uuid: bool,
    pub activity: bool,
    pub term: bool,
    pub last_updated: bool,
    pub allocation_lot: u32,
}
impl Default for DataOption {
    fn default() -> Self {
        Self {
            uuid: true,
            activity: true,
            term: true,
            last_updated: true,
            allocation_lot: 1,
        }
    }
}