]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / ApplicationModel / UserDataAccounts / SystemAccess / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[doc = "*Required features: 'ApplicationModel_UserDataAccounts_SystemAccess'*"]
3 #[repr(transparent)]
4 pub struct DeviceAccountAuthenticationType(pub i32);
5 impl DeviceAccountAuthenticationType {
6 pub const Basic: Self = Self(0i32);
7 pub const OAuth: Self = Self(1i32);
8 pub const SingleSignOn: Self = Self(2i32);
9 }
10 impl ::core::marker::Copy for DeviceAccountAuthenticationType {}
11 impl ::core::clone::Clone for DeviceAccountAuthenticationType {
12 fn clone(&self) -> Self {
13 *self
14 }
15 }
16 pub type DeviceAccountConfiguration = *mut ::core::ffi::c_void;
17 #[doc = "*Required features: 'ApplicationModel_UserDataAccounts_SystemAccess'*"]
18 #[repr(transparent)]
19 pub struct DeviceAccountIconId(pub i32);
20 impl DeviceAccountIconId {
21 pub const Exchange: Self = Self(0i32);
22 pub const Msa: Self = Self(1i32);
23 pub const Outlook: Self = Self(2i32);
24 pub const Generic: Self = Self(3i32);
25 }
26 impl ::core::marker::Copy for DeviceAccountIconId {}
27 impl ::core::clone::Clone for DeviceAccountIconId {
28 fn clone(&self) -> Self {
29 *self
30 }
31 }
32 #[doc = "*Required features: 'ApplicationModel_UserDataAccounts_SystemAccess'*"]
33 #[repr(transparent)]
34 pub struct DeviceAccountMailAgeFilter(pub i32);
35 impl DeviceAccountMailAgeFilter {
36 pub const All: Self = Self(0i32);
37 pub const Last1Day: Self = Self(1i32);
38 pub const Last3Days: Self = Self(2i32);
39 pub const Last7Days: Self = Self(3i32);
40 pub const Last14Days: Self = Self(4i32);
41 pub const Last30Days: Self = Self(5i32);
42 pub const Last90Days: Self = Self(6i32);
43 }
44 impl ::core::marker::Copy for DeviceAccountMailAgeFilter {}
45 impl ::core::clone::Clone for DeviceAccountMailAgeFilter {
46 fn clone(&self) -> Self {
47 *self
48 }
49 }
50 #[doc = "*Required features: 'ApplicationModel_UserDataAccounts_SystemAccess'*"]
51 #[repr(transparent)]
52 pub struct DeviceAccountServerType(pub i32);
53 impl DeviceAccountServerType {
54 pub const Exchange: Self = Self(0i32);
55 pub const Pop: Self = Self(1i32);
56 pub const Imap: Self = Self(2i32);
57 }
58 impl ::core::marker::Copy for DeviceAccountServerType {}
59 impl ::core::clone::Clone for DeviceAccountServerType {
60 fn clone(&self) -> Self {
61 *self
62 }
63 }
64 #[doc = "*Required features: 'ApplicationModel_UserDataAccounts_SystemAccess'*"]
65 #[repr(transparent)]
66 pub struct DeviceAccountSyncScheduleKind(pub i32);
67 impl DeviceAccountSyncScheduleKind {
68 pub const Manual: Self = Self(0i32);
69 pub const Every15Minutes: Self = Self(1i32);
70 pub const Every30Minutes: Self = Self(2i32);
71 pub const Every60Minutes: Self = Self(3i32);
72 pub const Every2Hours: Self = Self(4i32);
73 pub const Daily: Self = Self(5i32);
74 pub const AsItemsArrive: Self = Self(6i32);
75 }
76 impl ::core::marker::Copy for DeviceAccountSyncScheduleKind {}
77 impl ::core::clone::Clone for DeviceAccountSyncScheduleKind {
78 fn clone(&self) -> Self {
79 *self
80 }
81 }