]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | #[cfg(feature = "Management_Core")] |
2 | pub mod Core; | |
3 | #[cfg(feature = "Management_Deployment")] | |
4 | pub mod Deployment; | |
5 | #[cfg(feature = "Management_Policies")] | |
6 | pub mod Policies; | |
7 | #[cfg(feature = "Management_Update")] | |
8 | pub mod Update; | |
9 | #[cfg(feature = "Management_Workplace")] | |
10 | pub mod Workplace; | |
11 | pub type MdmAlert = *mut ::core::ffi::c_void; | |
04454e1e | 12 | #[doc = "*Required features: `\"Management\"`*"] |
5e7ed085 FG |
13 | #[repr(transparent)] |
14 | pub struct MdmAlertDataType(pub i32); | |
15 | impl MdmAlertDataType { | |
16 | pub const String: Self = Self(0i32); | |
17 | pub const Base64: Self = Self(1i32); | |
18 | pub const Boolean: Self = Self(2i32); | |
19 | pub const Integer: Self = Self(3i32); | |
20 | } | |
21 | impl ::core::marker::Copy for MdmAlertDataType {} | |
22 | impl ::core::clone::Clone for MdmAlertDataType { | |
23 | fn clone(&self) -> Self { | |
24 | *self | |
25 | } | |
26 | } | |
04454e1e | 27 | #[doc = "*Required features: `\"Management\"`*"] |
5e7ed085 FG |
28 | #[repr(transparent)] |
29 | pub struct MdmAlertMark(pub i32); | |
30 | impl MdmAlertMark { | |
31 | pub const None: Self = Self(0i32); | |
32 | pub const Fatal: Self = Self(1i32); | |
33 | pub const Critical: Self = Self(2i32); | |
34 | pub const Warning: Self = Self(3i32); | |
35 | pub const Informational: Self = Self(4i32); | |
36 | } | |
37 | impl ::core::marker::Copy for MdmAlertMark {} | |
38 | impl ::core::clone::Clone for MdmAlertMark { | |
39 | fn clone(&self) -> Self { | |
40 | *self | |
41 | } | |
42 | } | |
43 | pub type MdmSession = *mut ::core::ffi::c_void; | |
04454e1e | 44 | #[doc = "*Required features: `\"Management\"`*"] |
5e7ed085 FG |
45 | #[repr(transparent)] |
46 | pub struct MdmSessionState(pub i32); | |
47 | impl MdmSessionState { | |
48 | pub const NotStarted: Self = Self(0i32); | |
49 | pub const Starting: Self = Self(1i32); | |
50 | pub const Connecting: Self = Self(2i32); | |
51 | pub const Communicating: Self = Self(3i32); | |
52 | pub const AlertStatusAvailable: Self = Self(4i32); | |
53 | pub const Retrying: Self = Self(5i32); | |
54 | pub const Completed: Self = Self(6i32); | |
55 | } | |
56 | impl ::core::marker::Copy for MdmSessionState {} | |
57 | impl ::core::clone::Clone for MdmSessionState { | |
58 | fn clone(&self) -> Self { | |
59 | *self | |
60 | } | |
61 | } |