rust_wheel 0.1.13

A project to define some public component.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Debug, PartialEq, PartialOrd, Eq)]
pub enum RdDeletedStatus {
    Normal = 0,
    Deleted = 1,
}

impl From<RdDeletedStatus> for i32 {
    fn from(online_status: RdDeletedStatus) -> Self {
        match online_status {
            RdDeletedStatus::Normal => 0,
            RdDeletedStatus::Deleted => 1,
        }
    }
}