]>
Commit | Line | Data |
---|---|---|
04454e1e | 1 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
2 | #[repr(transparent)] |
3 | pub struct DataClasses(pub u32); | |
4 | impl DataClasses { | |
5 | pub const None: Self = Self(0u32); | |
6 | pub const Gprs: Self = Self(1u32); | |
7 | pub const Edge: Self = Self(2u32); | |
8 | pub const Umts: Self = Self(4u32); | |
9 | pub const Hsdpa: Self = Self(8u32); | |
10 | pub const Hsupa: Self = Self(16u32); | |
11 | pub const LteAdvanced: Self = Self(32u32); | |
12 | pub const NewRadioNonStandalone: Self = Self(64u32); | |
13 | pub const NewRadioStandalone: Self = Self(128u32); | |
14 | pub const Cdma1xRtt: Self = Self(65536u32); | |
15 | pub const Cdma1xEvdo: Self = Self(131072u32); | |
16 | pub const Cdma1xEvdoRevA: Self = Self(262144u32); | |
17 | pub const Cdma1xEvdv: Self = Self(524288u32); | |
18 | pub const Cdma3xRtt: Self = Self(1048576u32); | |
19 | pub const Cdma1xEvdoRevB: Self = Self(2097152u32); | |
20 | pub const CdmaUmb: Self = Self(4194304u32); | |
21 | pub const Custom: Self = Self(2147483648u32); | |
22 | } | |
23 | impl ::core::marker::Copy for DataClasses {} | |
24 | impl ::core::clone::Clone for DataClasses { | |
25 | fn clone(&self) -> Self { | |
26 | *self | |
27 | } | |
28 | } | |
29 | pub type ESim = *mut ::core::ffi::c_void; | |
30 | pub type ESimAddedEventArgs = *mut ::core::ffi::c_void; | |
04454e1e | 31 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
32 | #[repr(transparent)] |
33 | pub struct ESimAuthenticationPreference(pub i32); | |
34 | impl ESimAuthenticationPreference { | |
35 | pub const OnEntry: Self = Self(0i32); | |
36 | pub const OnAction: Self = Self(1i32); | |
37 | pub const Never: Self = Self(2i32); | |
38 | } | |
39 | impl ::core::marker::Copy for ESimAuthenticationPreference {} | |
40 | impl ::core::clone::Clone for ESimAuthenticationPreference { | |
41 | fn clone(&self) -> Self { | |
42 | *self | |
43 | } | |
44 | } | |
45 | pub type ESimDiscoverEvent = *mut ::core::ffi::c_void; | |
46 | pub type ESimDiscoverResult = *mut ::core::ffi::c_void; | |
04454e1e | 47 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
48 | #[repr(transparent)] |
49 | pub struct ESimDiscoverResultKind(pub i32); | |
50 | impl ESimDiscoverResultKind { | |
51 | pub const None: Self = Self(0i32); | |
52 | pub const Events: Self = Self(1i32); | |
53 | pub const ProfileMetadata: Self = Self(2i32); | |
54 | } | |
55 | impl ::core::marker::Copy for ESimDiscoverResultKind {} | |
56 | impl ::core::clone::Clone for ESimDiscoverResultKind { | |
57 | fn clone(&self) -> Self { | |
58 | *self | |
59 | } | |
60 | } | |
61 | pub type ESimDownloadProfileMetadataResult = *mut ::core::ffi::c_void; | |
62 | pub type ESimOperationResult = *mut ::core::ffi::c_void; | |
04454e1e | 63 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
64 | #[repr(transparent)] |
65 | pub struct ESimOperationStatus(pub i32); | |
66 | impl ESimOperationStatus { | |
67 | pub const Success: Self = Self(0i32); | |
68 | pub const NotAuthorized: Self = Self(1i32); | |
69 | pub const NotFound: Self = Self(2i32); | |
70 | pub const PolicyViolation: Self = Self(3i32); | |
71 | pub const InsufficientSpaceOnCard: Self = Self(4i32); | |
72 | pub const ServerFailure: Self = Self(5i32); | |
73 | pub const ServerNotReachable: Self = Self(6i32); | |
74 | pub const TimeoutWaitingForUserConsent: Self = Self(7i32); | |
75 | pub const IncorrectConfirmationCode: Self = Self(8i32); | |
76 | pub const ConfirmationCodeMaxRetriesExceeded: Self = Self(9i32); | |
77 | pub const CardRemoved: Self = Self(10i32); | |
78 | pub const CardBusy: Self = Self(11i32); | |
79 | pub const Other: Self = Self(12i32); | |
80 | pub const CardGeneralFailure: Self = Self(13i32); | |
81 | pub const ConfirmationCodeMissing: Self = Self(14i32); | |
82 | pub const InvalidMatchingId: Self = Self(15i32); | |
83 | pub const NoEligibleProfileForThisDevice: Self = Self(16i32); | |
84 | pub const OperationAborted: Self = Self(17i32); | |
85 | pub const EidMismatch: Self = Self(18i32); | |
86 | pub const ProfileNotAvailableForNewBinding: Self = Self(19i32); | |
87 | pub const ProfileNotReleasedByOperator: Self = Self(20i32); | |
88 | pub const OperationProhibitedByProfileClass: Self = Self(21i32); | |
89 | pub const ProfileNotPresent: Self = Self(22i32); | |
90 | pub const NoCorrespondingRequest: Self = Self(23i32); | |
91 | pub const TimeoutWaitingForResponse: Self = Self(24i32); | |
92 | pub const IccidAlreadyExists: Self = Self(25i32); | |
93 | pub const ProfileProcessingError: Self = Self(26i32); | |
94 | pub const ServerNotTrusted: Self = Self(27i32); | |
95 | pub const ProfileDownloadMaxRetriesExceeded: Self = Self(28i32); | |
96 | } | |
97 | impl ::core::marker::Copy for ESimOperationStatus {} | |
98 | impl ::core::clone::Clone for ESimOperationStatus { | |
99 | fn clone(&self) -> Self { | |
100 | *self | |
101 | } | |
102 | } | |
103 | pub type ESimPolicy = *mut ::core::ffi::c_void; | |
104 | pub type ESimProfile = *mut ::core::ffi::c_void; | |
04454e1e | 105 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
106 | #[repr(transparent)] |
107 | pub struct ESimProfileClass(pub i32); | |
108 | impl ESimProfileClass { | |
109 | pub const Operational: Self = Self(0i32); | |
110 | pub const Test: Self = Self(1i32); | |
111 | pub const Provisioning: Self = Self(2i32); | |
112 | } | |
113 | impl ::core::marker::Copy for ESimProfileClass {} | |
114 | impl ::core::clone::Clone for ESimProfileClass { | |
115 | fn clone(&self) -> Self { | |
116 | *self | |
117 | } | |
118 | } | |
119 | #[repr(C)] | |
04454e1e | 120 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
121 | pub struct ESimProfileInstallProgress { |
122 | pub TotalSizeInBytes: i32, | |
123 | pub InstalledSizeInBytes: i32, | |
124 | } | |
125 | impl ::core::marker::Copy for ESimProfileInstallProgress {} | |
126 | impl ::core::clone::Clone for ESimProfileInstallProgress { | |
127 | fn clone(&self) -> Self { | |
128 | *self | |
129 | } | |
130 | } | |
131 | pub type ESimProfileMetadata = *mut ::core::ffi::c_void; | |
04454e1e | 132 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
133 | #[repr(transparent)] |
134 | pub struct ESimProfileMetadataState(pub i32); | |
135 | impl ESimProfileMetadataState { | |
136 | pub const Unknown: Self = Self(0i32); | |
137 | pub const WaitingForInstall: Self = Self(1i32); | |
138 | pub const Downloading: Self = Self(2i32); | |
139 | pub const Installing: Self = Self(3i32); | |
140 | pub const Expired: Self = Self(4i32); | |
141 | pub const RejectingDownload: Self = Self(5i32); | |
142 | pub const NoLongerAvailable: Self = Self(6i32); | |
143 | pub const DeniedByPolicy: Self = Self(7i32); | |
144 | } | |
145 | impl ::core::marker::Copy for ESimProfileMetadataState {} | |
146 | impl ::core::clone::Clone for ESimProfileMetadataState { | |
147 | fn clone(&self) -> Self { | |
148 | *self | |
149 | } | |
150 | } | |
151 | pub type ESimProfilePolicy = *mut ::core::ffi::c_void; | |
04454e1e | 152 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
153 | #[repr(transparent)] |
154 | pub struct ESimProfileState(pub i32); | |
155 | impl ESimProfileState { | |
156 | pub const Unknown: Self = Self(0i32); | |
157 | pub const Disabled: Self = Self(1i32); | |
158 | pub const Enabled: Self = Self(2i32); | |
159 | pub const Deleted: Self = Self(3i32); | |
160 | } | |
161 | impl ::core::marker::Copy for ESimProfileState {} | |
162 | impl ::core::clone::Clone for ESimProfileState { | |
163 | fn clone(&self) -> Self { | |
164 | *self | |
165 | } | |
166 | } | |
167 | pub type ESimRemovedEventArgs = *mut ::core::ffi::c_void; | |
168 | pub type ESimServiceInfo = *mut ::core::ffi::c_void; | |
04454e1e | 169 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
170 | #[repr(transparent)] |
171 | pub struct ESimState(pub i32); | |
172 | impl ESimState { | |
173 | pub const Unknown: Self = Self(0i32); | |
174 | pub const Idle: Self = Self(1i32); | |
175 | pub const Removed: Self = Self(2i32); | |
176 | pub const Busy: Self = Self(3i32); | |
177 | } | |
178 | impl ::core::marker::Copy for ESimState {} | |
179 | impl ::core::clone::Clone for ESimState { | |
180 | fn clone(&self) -> Self { | |
181 | *self | |
182 | } | |
183 | } | |
184 | pub type ESimUpdatedEventArgs = *mut ::core::ffi::c_void; | |
185 | pub type ESimWatcher = *mut ::core::ffi::c_void; | |
04454e1e | 186 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
187 | #[repr(transparent)] |
188 | pub struct ESimWatcherStatus(pub i32); | |
189 | impl ESimWatcherStatus { | |
190 | pub const Created: Self = Self(0i32); | |
191 | pub const Started: Self = Self(1i32); | |
192 | pub const EnumerationCompleted: Self = Self(2i32); | |
193 | pub const Stopping: Self = Self(3i32); | |
194 | pub const Stopped: Self = Self(4i32); | |
195 | } | |
196 | impl ::core::marker::Copy for ESimWatcherStatus {} | |
197 | impl ::core::clone::Clone for ESimWatcherStatus { | |
198 | fn clone(&self) -> Self { | |
199 | *self | |
200 | } | |
201 | } | |
202 | pub type HotspotAuthenticationContext = *mut ::core::ffi::c_void; | |
203 | pub type HotspotAuthenticationEventDetails = *mut ::core::ffi::c_void; | |
04454e1e | 204 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
205 | #[repr(transparent)] |
206 | pub struct HotspotAuthenticationResponseCode(pub i32); | |
207 | impl HotspotAuthenticationResponseCode { | |
208 | pub const NoError: Self = Self(0i32); | |
209 | pub const LoginSucceeded: Self = Self(50i32); | |
210 | pub const LoginFailed: Self = Self(100i32); | |
211 | pub const RadiusServerError: Self = Self(102i32); | |
212 | pub const NetworkAdministratorError: Self = Self(105i32); | |
213 | pub const LoginAborted: Self = Self(151i32); | |
214 | pub const AccessGatewayInternalError: Self = Self(255i32); | |
215 | } | |
216 | impl ::core::marker::Copy for HotspotAuthenticationResponseCode {} | |
217 | impl ::core::clone::Clone for HotspotAuthenticationResponseCode { | |
218 | fn clone(&self) -> Self { | |
219 | *self | |
220 | } | |
221 | } | |
222 | pub type HotspotCredentialsAuthenticationResult = *mut ::core::ffi::c_void; | |
223 | pub type MobileBroadbandAccount = *mut ::core::ffi::c_void; | |
224 | pub type MobileBroadbandAccountEventArgs = *mut ::core::ffi::c_void; | |
225 | pub type MobileBroadbandAccountUpdatedEventArgs = *mut ::core::ffi::c_void; | |
226 | pub type MobileBroadbandAccountWatcher = *mut ::core::ffi::c_void; | |
04454e1e | 227 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
228 | #[repr(transparent)] |
229 | pub struct MobileBroadbandAccountWatcherStatus(pub i32); | |
230 | impl MobileBroadbandAccountWatcherStatus { | |
231 | pub const Created: Self = Self(0i32); | |
232 | pub const Started: Self = Self(1i32); | |
233 | pub const EnumerationCompleted: Self = Self(2i32); | |
234 | pub const Stopped: Self = Self(3i32); | |
235 | pub const Aborted: Self = Self(4i32); | |
236 | } | |
237 | impl ::core::marker::Copy for MobileBroadbandAccountWatcherStatus {} | |
238 | impl ::core::clone::Clone for MobileBroadbandAccountWatcherStatus { | |
239 | fn clone(&self) -> Self { | |
240 | *self | |
241 | } | |
242 | } | |
243 | pub type MobileBroadbandAntennaSar = *mut ::core::ffi::c_void; | |
244 | pub type MobileBroadbandCellCdma = *mut ::core::ffi::c_void; | |
245 | pub type MobileBroadbandCellGsm = *mut ::core::ffi::c_void; | |
246 | pub type MobileBroadbandCellLte = *mut ::core::ffi::c_void; | |
247 | pub type MobileBroadbandCellNR = *mut ::core::ffi::c_void; | |
248 | pub type MobileBroadbandCellTdscdma = *mut ::core::ffi::c_void; | |
249 | pub type MobileBroadbandCellUmts = *mut ::core::ffi::c_void; | |
250 | pub type MobileBroadbandCellsInfo = *mut ::core::ffi::c_void; | |
251 | pub type MobileBroadbandCurrentSlotIndexChangedEventArgs = *mut ::core::ffi::c_void; | |
252 | pub type MobileBroadbandDeviceInformation = *mut ::core::ffi::c_void; | |
253 | pub type MobileBroadbandDeviceService = *mut ::core::ffi::c_void; | |
254 | pub type MobileBroadbandDeviceServiceCommandResult = *mut ::core::ffi::c_void; | |
255 | pub type MobileBroadbandDeviceServiceCommandSession = *mut ::core::ffi::c_void; | |
256 | pub type MobileBroadbandDeviceServiceDataReceivedEventArgs = *mut ::core::ffi::c_void; | |
257 | pub type MobileBroadbandDeviceServiceDataSession = *mut ::core::ffi::c_void; | |
258 | pub type MobileBroadbandDeviceServiceInformation = *mut ::core::ffi::c_void; | |
259 | pub type MobileBroadbandDeviceServiceTriggerDetails = *mut ::core::ffi::c_void; | |
04454e1e | 260 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
261 | #[repr(transparent)] |
262 | pub struct MobileBroadbandDeviceType(pub i32); | |
263 | impl MobileBroadbandDeviceType { | |
264 | pub const Unknown: Self = Self(0i32); | |
265 | pub const Embedded: Self = Self(1i32); | |
266 | pub const Removable: Self = Self(2i32); | |
267 | pub const Remote: Self = Self(3i32); | |
268 | } | |
269 | impl ::core::marker::Copy for MobileBroadbandDeviceType {} | |
270 | impl ::core::clone::Clone for MobileBroadbandDeviceType { | |
271 | fn clone(&self) -> Self { | |
272 | *self | |
273 | } | |
274 | } | |
275 | pub type MobileBroadbandModem = *mut ::core::ffi::c_void; | |
276 | pub type MobileBroadbandModemConfiguration = *mut ::core::ffi::c_void; | |
277 | pub type MobileBroadbandModemIsolation = *mut ::core::ffi::c_void; | |
04454e1e | 278 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
279 | #[repr(transparent)] |
280 | pub struct MobileBroadbandModemStatus(pub i32); | |
281 | impl MobileBroadbandModemStatus { | |
282 | pub const Success: Self = Self(0i32); | |
283 | pub const OtherFailure: Self = Self(1i32); | |
284 | pub const Busy: Self = Self(2i32); | |
285 | pub const NoDeviceSupport: Self = Self(3i32); | |
286 | } | |
287 | impl ::core::marker::Copy for MobileBroadbandModemStatus {} | |
288 | impl ::core::clone::Clone for MobileBroadbandModemStatus { | |
289 | fn clone(&self) -> Self { | |
290 | *self | |
291 | } | |
292 | } | |
293 | pub type MobileBroadbandNetwork = *mut ::core::ffi::c_void; | |
294 | pub type MobileBroadbandNetworkRegistrationStateChange = *mut ::core::ffi::c_void; | |
295 | pub type MobileBroadbandNetworkRegistrationStateChangeTriggerDetails = *mut ::core::ffi::c_void; | |
296 | pub type MobileBroadbandPco = *mut ::core::ffi::c_void; | |
297 | pub type MobileBroadbandPcoDataChangeTriggerDetails = *mut ::core::ffi::c_void; | |
298 | pub type MobileBroadbandPin = *mut ::core::ffi::c_void; | |
04454e1e | 299 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
300 | #[repr(transparent)] |
301 | pub struct MobileBroadbandPinFormat(pub i32); | |
302 | impl MobileBroadbandPinFormat { | |
303 | pub const Unknown: Self = Self(0i32); | |
304 | pub const Numeric: Self = Self(1i32); | |
305 | pub const Alphanumeric: Self = Self(2i32); | |
306 | } | |
307 | impl ::core::marker::Copy for MobileBroadbandPinFormat {} | |
308 | impl ::core::clone::Clone for MobileBroadbandPinFormat { | |
309 | fn clone(&self) -> Self { | |
310 | *self | |
311 | } | |
312 | } | |
04454e1e | 313 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
314 | #[repr(transparent)] |
315 | pub struct MobileBroadbandPinLockState(pub i32); | |
316 | impl MobileBroadbandPinLockState { | |
317 | pub const Unknown: Self = Self(0i32); | |
318 | pub const Unlocked: Self = Self(1i32); | |
319 | pub const PinRequired: Self = Self(2i32); | |
320 | pub const PinUnblockKeyRequired: Self = Self(3i32); | |
321 | } | |
322 | impl ::core::marker::Copy for MobileBroadbandPinLockState {} | |
323 | impl ::core::clone::Clone for MobileBroadbandPinLockState { | |
324 | fn clone(&self) -> Self { | |
325 | *self | |
326 | } | |
327 | } | |
328 | pub type MobileBroadbandPinLockStateChange = *mut ::core::ffi::c_void; | |
329 | pub type MobileBroadbandPinLockStateChangeTriggerDetails = *mut ::core::ffi::c_void; | |
330 | pub type MobileBroadbandPinManager = *mut ::core::ffi::c_void; | |
331 | pub type MobileBroadbandPinOperationResult = *mut ::core::ffi::c_void; | |
04454e1e | 332 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
333 | #[repr(transparent)] |
334 | pub struct MobileBroadbandPinType(pub i32); | |
335 | impl MobileBroadbandPinType { | |
336 | pub const None: Self = Self(0i32); | |
337 | pub const Custom: Self = Self(1i32); | |
338 | pub const Pin1: Self = Self(2i32); | |
339 | pub const Pin2: Self = Self(3i32); | |
340 | pub const SimPin: Self = Self(4i32); | |
341 | pub const FirstSimPin: Self = Self(5i32); | |
342 | pub const NetworkPin: Self = Self(6i32); | |
343 | pub const NetworkSubsetPin: Self = Self(7i32); | |
344 | pub const ServiceProviderPin: Self = Self(8i32); | |
345 | pub const CorporatePin: Self = Self(9i32); | |
346 | pub const SubsidyLock: Self = Self(10i32); | |
347 | } | |
348 | impl ::core::marker::Copy for MobileBroadbandPinType {} | |
349 | impl ::core::clone::Clone for MobileBroadbandPinType { | |
350 | fn clone(&self) -> Self { | |
351 | *self | |
352 | } | |
353 | } | |
04454e1e | 354 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
355 | #[repr(transparent)] |
356 | pub struct MobileBroadbandRadioState(pub i32); | |
357 | impl MobileBroadbandRadioState { | |
358 | pub const Off: Self = Self(0i32); | |
359 | pub const On: Self = Self(1i32); | |
360 | } | |
361 | impl ::core::marker::Copy for MobileBroadbandRadioState {} | |
362 | impl ::core::clone::Clone for MobileBroadbandRadioState { | |
363 | fn clone(&self) -> Self { | |
364 | *self | |
365 | } | |
366 | } | |
367 | pub type MobileBroadbandRadioStateChange = *mut ::core::ffi::c_void; | |
368 | pub type MobileBroadbandRadioStateChangeTriggerDetails = *mut ::core::ffi::c_void; | |
369 | pub type MobileBroadbandSarManager = *mut ::core::ffi::c_void; | |
370 | pub type MobileBroadbandSlotInfo = *mut ::core::ffi::c_void; | |
371 | pub type MobileBroadbandSlotInfoChangedEventArgs = *mut ::core::ffi::c_void; | |
372 | pub type MobileBroadbandSlotManager = *mut ::core::ffi::c_void; | |
04454e1e | 373 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
374 | #[repr(transparent)] |
375 | pub struct MobileBroadbandSlotState(pub i32); | |
376 | impl MobileBroadbandSlotState { | |
377 | pub const Unmanaged: Self = Self(0i32); | |
378 | pub const Unknown: Self = Self(1i32); | |
379 | pub const OffEmpty: Self = Self(2i32); | |
380 | pub const Off: Self = Self(3i32); | |
381 | pub const Empty: Self = Self(4i32); | |
382 | pub const NotReady: Self = Self(5i32); | |
383 | pub const Active: Self = Self(6i32); | |
384 | pub const Error: Self = Self(7i32); | |
385 | pub const ActiveEsim: Self = Self(8i32); | |
386 | pub const ActiveEsimNoProfile: Self = Self(9i32); | |
387 | } | |
388 | impl ::core::marker::Copy for MobileBroadbandSlotState {} | |
389 | impl ::core::clone::Clone for MobileBroadbandSlotState { | |
390 | fn clone(&self) -> Self { | |
391 | *self | |
392 | } | |
393 | } | |
394 | pub type MobileBroadbandTransmissionStateChangedEventArgs = *mut ::core::ffi::c_void; | |
395 | pub type MobileBroadbandUicc = *mut ::core::ffi::c_void; | |
396 | pub type MobileBroadbandUiccApp = *mut ::core::ffi::c_void; | |
04454e1e | 397 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
398 | #[repr(transparent)] |
399 | pub struct MobileBroadbandUiccAppOperationStatus(pub i32); | |
400 | impl MobileBroadbandUiccAppOperationStatus { | |
401 | pub const Success: Self = Self(0i32); | |
402 | pub const InvalidUiccFilePath: Self = Self(1i32); | |
403 | pub const AccessConditionNotHeld: Self = Self(2i32); | |
404 | pub const UiccBusy: Self = Self(3i32); | |
405 | } | |
406 | impl ::core::marker::Copy for MobileBroadbandUiccAppOperationStatus {} | |
407 | impl ::core::clone::Clone for MobileBroadbandUiccAppOperationStatus { | |
408 | fn clone(&self) -> Self { | |
409 | *self | |
410 | } | |
411 | } | |
412 | pub type MobileBroadbandUiccAppReadRecordResult = *mut ::core::ffi::c_void; | |
413 | pub type MobileBroadbandUiccAppRecordDetailsResult = *mut ::core::ffi::c_void; | |
414 | pub type MobileBroadbandUiccAppsResult = *mut ::core::ffi::c_void; | |
04454e1e | 415 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
416 | #[repr(transparent)] |
417 | pub struct NetworkDeviceStatus(pub i32); | |
418 | impl NetworkDeviceStatus { | |
419 | pub const DeviceNotReady: Self = Self(0i32); | |
420 | pub const DeviceReady: Self = Self(1i32); | |
421 | pub const SimNotInserted: Self = Self(2i32); | |
422 | pub const BadSim: Self = Self(3i32); | |
423 | pub const DeviceHardwareFailure: Self = Self(4i32); | |
424 | pub const AccountNotActivated: Self = Self(5i32); | |
425 | pub const DeviceLocked: Self = Self(6i32); | |
426 | pub const DeviceBlocked: Self = Self(7i32); | |
427 | } | |
428 | impl ::core::marker::Copy for NetworkDeviceStatus {} | |
429 | impl ::core::clone::Clone for NetworkDeviceStatus { | |
430 | fn clone(&self) -> Self { | |
431 | *self | |
432 | } | |
433 | } | |
04454e1e | 434 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
435 | #[repr(transparent)] |
436 | pub struct NetworkOperatorDataUsageNotificationKind(pub i32); | |
437 | impl NetworkOperatorDataUsageNotificationKind { | |
438 | pub const DataUsageProgress: Self = Self(0i32); | |
439 | } | |
440 | impl ::core::marker::Copy for NetworkOperatorDataUsageNotificationKind {} | |
441 | impl ::core::clone::Clone for NetworkOperatorDataUsageNotificationKind { | |
442 | fn clone(&self) -> Self { | |
443 | *self | |
444 | } | |
445 | } | |
446 | pub type NetworkOperatorDataUsageTriggerDetails = *mut ::core::ffi::c_void; | |
04454e1e | 447 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
448 | #[repr(transparent)] |
449 | pub struct NetworkOperatorEventMessageType(pub i32); | |
450 | impl NetworkOperatorEventMessageType { | |
451 | pub const Gsm: Self = Self(0i32); | |
452 | pub const Cdma: Self = Self(1i32); | |
453 | pub const Ussd: Self = Self(2i32); | |
454 | pub const DataPlanThresholdReached: Self = Self(3i32); | |
455 | pub const DataPlanReset: Self = Self(4i32); | |
456 | pub const DataPlanDeleted: Self = Self(5i32); | |
457 | pub const ProfileConnected: Self = Self(6i32); | |
458 | pub const ProfileDisconnected: Self = Self(7i32); | |
459 | pub const RegisteredRoaming: Self = Self(8i32); | |
460 | pub const RegisteredHome: Self = Self(9i32); | |
461 | pub const TetheringEntitlementCheck: Self = Self(10i32); | |
462 | pub const TetheringOperationalStateChanged: Self = Self(11i32); | |
463 | pub const TetheringNumberOfClientsChanged: Self = Self(12i32); | |
464 | } | |
465 | impl ::core::marker::Copy for NetworkOperatorEventMessageType {} | |
466 | impl ::core::clone::Clone for NetworkOperatorEventMessageType { | |
467 | fn clone(&self) -> Self { | |
468 | *self | |
469 | } | |
470 | } | |
471 | pub type NetworkOperatorNotificationEventDetails = *mut ::core::ffi::c_void; | |
472 | pub type NetworkOperatorTetheringAccessPointConfiguration = *mut ::core::ffi::c_void; | |
473 | pub type NetworkOperatorTetheringClient = *mut ::core::ffi::c_void; | |
474 | pub type NetworkOperatorTetheringManager = *mut ::core::ffi::c_void; | |
475 | pub type NetworkOperatorTetheringOperationResult = *mut ::core::ffi::c_void; | |
04454e1e | 476 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
477 | #[repr(transparent)] |
478 | pub struct NetworkRegistrationState(pub i32); | |
479 | impl NetworkRegistrationState { | |
480 | pub const None: Self = Self(0i32); | |
481 | pub const Deregistered: Self = Self(1i32); | |
482 | pub const Searching: Self = Self(2i32); | |
483 | pub const Home: Self = Self(3i32); | |
484 | pub const Roaming: Self = Self(4i32); | |
485 | pub const Partner: Self = Self(5i32); | |
486 | pub const Denied: Self = Self(6i32); | |
487 | } | |
488 | impl ::core::marker::Copy for NetworkRegistrationState {} | |
489 | impl ::core::clone::Clone for NetworkRegistrationState { | |
490 | fn clone(&self) -> Self { | |
491 | *self | |
492 | } | |
493 | } | |
04454e1e | 494 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
495 | #[repr(transparent)] |
496 | pub struct ProfileMediaType(pub i32); | |
497 | impl ProfileMediaType { | |
498 | pub const Wlan: Self = Self(0i32); | |
499 | pub const Wwan: Self = Self(1i32); | |
500 | } | |
501 | impl ::core::marker::Copy for ProfileMediaType {} | |
502 | impl ::core::clone::Clone for ProfileMediaType { | |
503 | fn clone(&self) -> Self { | |
504 | *self | |
505 | } | |
506 | } | |
507 | #[repr(C)] | |
04454e1e | 508 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`, `\"Foundation\"`*"] |
5e7ed085 FG |
509 | #[cfg(feature = "Foundation")] |
510 | pub struct ProfileUsage { | |
511 | pub UsageInMegabytes: u32, | |
512 | pub LastSyncTime: super::super::Foundation::DateTime, | |
513 | } | |
514 | #[cfg(feature = "Foundation")] | |
515 | impl ::core::marker::Copy for ProfileUsage {} | |
516 | #[cfg(feature = "Foundation")] | |
517 | impl ::core::clone::Clone for ProfileUsage { | |
518 | fn clone(&self) -> Self { | |
519 | *self | |
520 | } | |
521 | } | |
522 | pub type ProvisionFromXmlDocumentResults = *mut ::core::ffi::c_void; | |
523 | pub type ProvisionedProfile = *mut ::core::ffi::c_void; | |
524 | pub type ProvisioningAgent = *mut ::core::ffi::c_void; | |
04454e1e | 525 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
526 | #[repr(transparent)] |
527 | pub struct TetheringCapability(pub i32); | |
528 | impl TetheringCapability { | |
529 | pub const Enabled: Self = Self(0i32); | |
530 | pub const DisabledByGroupPolicy: Self = Self(1i32); | |
531 | pub const DisabledByHardwareLimitation: Self = Self(2i32); | |
532 | pub const DisabledByOperator: Self = Self(3i32); | |
533 | pub const DisabledBySku: Self = Self(4i32); | |
534 | pub const DisabledByRequiredAppNotInstalled: Self = Self(5i32); | |
535 | pub const DisabledDueToUnknownCause: Self = Self(6i32); | |
536 | pub const DisabledBySystemCapability: Self = Self(7i32); | |
537 | } | |
538 | impl ::core::marker::Copy for TetheringCapability {} | |
539 | impl ::core::clone::Clone for TetheringCapability { | |
540 | fn clone(&self) -> Self { | |
541 | *self | |
542 | } | |
543 | } | |
544 | pub type TetheringEntitlementCheckTriggerDetails = *mut ::core::ffi::c_void; | |
04454e1e | 545 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
546 | #[repr(transparent)] |
547 | pub struct TetheringOperationStatus(pub i32); | |
548 | impl TetheringOperationStatus { | |
549 | pub const Success: Self = Self(0i32); | |
550 | pub const Unknown: Self = Self(1i32); | |
551 | pub const MobileBroadbandDeviceOff: Self = Self(2i32); | |
552 | pub const WiFiDeviceOff: Self = Self(3i32); | |
553 | pub const EntitlementCheckTimeout: Self = Self(4i32); | |
554 | pub const EntitlementCheckFailure: Self = Self(5i32); | |
555 | pub const OperationInProgress: Self = Self(6i32); | |
556 | pub const BluetoothDeviceOff: Self = Self(7i32); | |
557 | pub const NetworkLimitedConnectivity: Self = Self(8i32); | |
558 | } | |
559 | impl ::core::marker::Copy for TetheringOperationStatus {} | |
560 | impl ::core::clone::Clone for TetheringOperationStatus { | |
561 | fn clone(&self) -> Self { | |
562 | *self | |
563 | } | |
564 | } | |
04454e1e | 565 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
566 | #[repr(transparent)] |
567 | pub struct TetheringOperationalState(pub i32); | |
568 | impl TetheringOperationalState { | |
569 | pub const Unknown: Self = Self(0i32); | |
570 | pub const On: Self = Self(1i32); | |
571 | pub const Off: Self = Self(2i32); | |
572 | pub const InTransition: Self = Self(3i32); | |
573 | } | |
574 | impl ::core::marker::Copy for TetheringOperationalState {} | |
575 | impl ::core::clone::Clone for TetheringOperationalState { | |
576 | fn clone(&self) -> Self { | |
577 | *self | |
578 | } | |
579 | } | |
04454e1e | 580 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
581 | #[repr(transparent)] |
582 | pub struct TetheringWiFiBand(pub i32); | |
583 | impl TetheringWiFiBand { | |
584 | pub const Auto: Self = Self(0i32); | |
585 | pub const TwoPointFourGigahertz: Self = Self(1i32); | |
586 | pub const FiveGigahertz: Self = Self(2i32); | |
587 | } | |
588 | impl ::core::marker::Copy for TetheringWiFiBand {} | |
589 | impl ::core::clone::Clone for TetheringWiFiBand { | |
590 | fn clone(&self) -> Self { | |
591 | *self | |
592 | } | |
593 | } | |
04454e1e | 594 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
595 | #[repr(transparent)] |
596 | pub struct UiccAccessCondition(pub i32); | |
597 | impl UiccAccessCondition { | |
598 | pub const AlwaysAllowed: Self = Self(0i32); | |
599 | pub const Pin1: Self = Self(1i32); | |
600 | pub const Pin2: Self = Self(2i32); | |
601 | pub const Pin3: Self = Self(3i32); | |
602 | pub const Pin4: Self = Self(4i32); | |
603 | pub const Administrative5: Self = Self(5i32); | |
604 | pub const Administrative6: Self = Self(6i32); | |
605 | pub const NeverAllowed: Self = Self(7i32); | |
606 | } | |
607 | impl ::core::marker::Copy for UiccAccessCondition {} | |
608 | impl ::core::clone::Clone for UiccAccessCondition { | |
609 | fn clone(&self) -> Self { | |
610 | *self | |
611 | } | |
612 | } | |
04454e1e | 613 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
614 | #[repr(transparent)] |
615 | pub struct UiccAppKind(pub i32); | |
616 | impl UiccAppKind { | |
617 | pub const Unknown: Self = Self(0i32); | |
618 | pub const MF: Self = Self(1i32); | |
619 | pub const MFSim: Self = Self(2i32); | |
620 | pub const MFRuim: Self = Self(3i32); | |
621 | pub const USim: Self = Self(4i32); | |
622 | pub const CSim: Self = Self(5i32); | |
623 | pub const ISim: Self = Self(6i32); | |
624 | } | |
625 | impl ::core::marker::Copy for UiccAppKind {} | |
626 | impl ::core::clone::Clone for UiccAppKind { | |
627 | fn clone(&self) -> Self { | |
628 | *self | |
629 | } | |
630 | } | |
04454e1e | 631 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
632 | #[repr(transparent)] |
633 | pub struct UiccAppRecordKind(pub i32); | |
634 | impl UiccAppRecordKind { | |
635 | pub const Unknown: Self = Self(0i32); | |
636 | pub const Transparent: Self = Self(1i32); | |
637 | pub const RecordOriented: Self = Self(2i32); | |
638 | } | |
639 | impl ::core::marker::Copy for UiccAppRecordKind {} | |
640 | impl ::core::clone::Clone for UiccAppRecordKind { | |
641 | fn clone(&self) -> Self { | |
642 | *self | |
643 | } | |
644 | } | |
645 | pub type UssdMessage = *mut ::core::ffi::c_void; | |
646 | pub type UssdReply = *mut ::core::ffi::c_void; | |
04454e1e | 647 | #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] |
5e7ed085 FG |
648 | #[repr(transparent)] |
649 | pub struct UssdResultCode(pub i32); | |
650 | impl UssdResultCode { | |
651 | pub const NoActionRequired: Self = Self(0i32); | |
652 | pub const ActionRequired: Self = Self(1i32); | |
653 | pub const Terminated: Self = Self(2i32); | |
654 | pub const OtherLocalClient: Self = Self(3i32); | |
655 | pub const OperationNotSupported: Self = Self(4i32); | |
656 | pub const NetworkTimeout: Self = Self(5i32); | |
657 | } | |
658 | impl ::core::marker::Copy for UssdResultCode {} | |
659 | impl ::core::clone::Clone for UssdResultCode { | |
660 | fn clone(&self) -> Self { | |
661 | *self | |
662 | } | |
663 | } | |
664 | pub type UssdSession = *mut ::core::ffi::c_void; |