1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#[derive(Clone, Copy, Debug, PartialEq)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub struct FlashInfo {
pub count: u32,
pub flash_caption: bool,
pub flash_tray: bool,
pub indefinite: bool,
pub rate: u32,
pub until_foreground: bool,
}
impl FlashInfo {
pub fn new() -> FlashInfo {
FlashInfo {
count: 0,
flash_caption: false,
flash_tray: false,
indefinite: false,
rate: 0,
until_foreground: false,
}
}
}