]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | pub type Enterprise = *mut ::core::ffi::c_void; |
2 | pub type EnterpriseEnrollmentResult = *mut ::core::ffi::c_void; | |
04454e1e | 3 | #[doc = "*Required features: `\"Phone_Management_Deployment\"`*"] |
5e7ed085 FG |
4 | #[repr(transparent)] |
5 | pub struct EnterpriseEnrollmentStatus(pub i32); | |
6 | impl EnterpriseEnrollmentStatus { | |
7 | pub const Success: Self = Self(0i32); | |
8 | pub const CancelledByUser: Self = Self(1i32); | |
9 | pub const UnknownFailure: Self = Self(2i32); | |
10 | } | |
11 | impl ::core::marker::Copy for EnterpriseEnrollmentStatus {} | |
12 | impl ::core::clone::Clone for EnterpriseEnrollmentStatus { | |
13 | fn clone(&self) -> Self { | |
14 | *self | |
15 | } | |
16 | } | |
04454e1e | 17 | #[doc = "*Required features: `\"Phone_Management_Deployment\"`*"] |
5e7ed085 FG |
18 | #[repr(transparent)] |
19 | pub struct EnterpriseStatus(pub i32); | |
20 | impl EnterpriseStatus { | |
21 | pub const Enrolled: Self = Self(0i32); | |
22 | pub const Disabled: Self = Self(1i32); | |
23 | pub const Revoked: Self = Self(2i32); | |
24 | pub const Expired: Self = Self(3i32); | |
25 | } | |
26 | impl ::core::marker::Copy for EnterpriseStatus {} | |
27 | impl ::core::clone::Clone for EnterpriseStatus { | |
28 | fn clone(&self) -> Self { | |
29 | *self | |
30 | } | |
31 | } | |
32 | pub type PackageInstallResult = *mut ::core::ffi::c_void; |