1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![allow(dead_code)]

#[derive(Debug, Clone, Copy, PartialEq)]
pub struct Version {
    pub minor: u16,
    pub patch: u16,
    pub channel: Channel,
}

#[derive(Debug, Clone, Copy, PartialEq)]
pub enum Channel {
    Stable,
    Beta,
    Nightly,
    Dev,
}