]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/ApplicationModel/Wallet/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / ApplicationModel / Wallet / mod.rs
CommitLineData
5e7ed085
FG
1#[cfg(feature = "ApplicationModel_Wallet_System")]
2pub mod System;
04454e1e 3#[doc = "*Required features: `\"ApplicationModel_Wallet\"`*"]
5e7ed085
FG
4#[repr(transparent)]
5pub struct WalletActionKind(pub i32);
6impl WalletActionKind {
7 pub const OpenItem: Self = Self(0i32);
8 pub const Transaction: Self = Self(1i32);
9 pub const MoreTransactions: Self = Self(2i32);
10 pub const Message: Self = Self(3i32);
11 pub const Verb: Self = Self(4i32);
12}
13impl ::core::marker::Copy for WalletActionKind {}
14impl ::core::clone::Clone for WalletActionKind {
15 fn clone(&self) -> Self {
16 *self
17 }
18}
19pub type WalletBarcode = *mut ::core::ffi::c_void;
04454e1e 20#[doc = "*Required features: `\"ApplicationModel_Wallet\"`*"]
5e7ed085
FG
21#[repr(transparent)]
22pub struct WalletBarcodeSymbology(pub i32);
23impl WalletBarcodeSymbology {
24 pub const Invalid: Self = Self(0i32);
25 pub const Upca: Self = Self(1i32);
26 pub const Upce: Self = Self(2i32);
27 pub const Ean13: Self = Self(3i32);
28 pub const Ean8: Self = Self(4i32);
29 pub const Itf: Self = Self(5i32);
30 pub const Code39: Self = Self(6i32);
31 pub const Code128: Self = Self(7i32);
32 pub const Qr: Self = Self(8i32);
33 pub const Pdf417: Self = Self(9i32);
34 pub const Aztec: Self = Self(10i32);
35 pub const Custom: Self = Self(100000i32);
36}
37impl ::core::marker::Copy for WalletBarcodeSymbology {}
38impl ::core::clone::Clone for WalletBarcodeSymbology {
39 fn clone(&self) -> Self {
40 *self
41 }
42}
04454e1e 43#[doc = "*Required features: `\"ApplicationModel_Wallet\"`*"]
5e7ed085
FG
44#[repr(transparent)]
45pub struct WalletDetailViewPosition(pub i32);
46impl WalletDetailViewPosition {
47 pub const Hidden: Self = Self(0i32);
48 pub const HeaderField1: Self = Self(1i32);
49 pub const HeaderField2: Self = Self(2i32);
50 pub const PrimaryField1: Self = Self(3i32);
51 pub const PrimaryField2: Self = Self(4i32);
52 pub const SecondaryField1: Self = Self(5i32);
53 pub const SecondaryField2: Self = Self(6i32);
54 pub const SecondaryField3: Self = Self(7i32);
55 pub const SecondaryField4: Self = Self(8i32);
56 pub const SecondaryField5: Self = Self(9i32);
57 pub const CenterField1: Self = Self(10i32);
58 pub const FooterField1: Self = Self(11i32);
59 pub const FooterField2: Self = Self(12i32);
60 pub const FooterField3: Self = Self(13i32);
61 pub const FooterField4: Self = Self(14i32);
62}
63impl ::core::marker::Copy for WalletDetailViewPosition {}
64impl ::core::clone::Clone for WalletDetailViewPosition {
65 fn clone(&self) -> Self {
66 *self
67 }
68}
69pub type WalletItem = *mut ::core::ffi::c_void;
70pub type WalletItemCustomProperty = *mut ::core::ffi::c_void;
04454e1e 71#[doc = "*Required features: `\"ApplicationModel_Wallet\"`*"]
5e7ed085
FG
72#[repr(transparent)]
73pub struct WalletItemKind(pub i32);
74impl WalletItemKind {
75 pub const Invalid: Self = Self(0i32);
76 pub const Deal: Self = Self(1i32);
77 pub const General: Self = Self(2i32);
78 pub const PaymentInstrument: Self = Self(3i32);
79 pub const Ticket: Self = Self(4i32);
80 pub const BoardingPass: Self = Self(5i32);
81 pub const MembershipCard: Self = Self(6i32);
82}
83impl ::core::marker::Copy for WalletItemKind {}
84impl ::core::clone::Clone for WalletItemKind {
85 fn clone(&self) -> Self {
86 *self
87 }
88}
89pub type WalletItemStore = *mut ::core::ffi::c_void;
90pub type WalletRelevantLocation = *mut ::core::ffi::c_void;
04454e1e 91#[doc = "*Required features: `\"ApplicationModel_Wallet\"`*"]
5e7ed085
FG
92#[repr(transparent)]
93pub struct WalletSummaryViewPosition(pub i32);
94impl WalletSummaryViewPosition {
95 pub const Hidden: Self = Self(0i32);
96 pub const Field1: Self = Self(1i32);
97 pub const Field2: Self = Self(2i32);
98}
99impl ::core::marker::Copy for WalletSummaryViewPosition {}
100impl ::core::clone::Clone for WalletSummaryViewPosition {
101 fn clone(&self) -> Self {
102 *self
103 }
104}
105pub type WalletTransaction = *mut ::core::ffi::c_void;
106pub type WalletVerb = *mut ::core::ffi::c_void;