objc2_intents/generated/
INBillType.rs1use objc2::__framework_prelude::*;
4
5use crate::*;
6
7#[deprecated = "INBillType is deprecated. There is no replacement."]
10#[repr(transparent)]
11#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
12pub struct INBillType(pub NSInteger);
13impl INBillType {
14 #[doc(alias = "INBillTypeUnknown")]
15 #[deprecated = "INBillType is deprecated. There is no replacement."]
16 pub const Unknown: Self = Self(0);
17 #[doc(alias = "INBillTypeAutoInsurance")]
18 #[deprecated = "INBillType is deprecated. There is no replacement."]
19 pub const AutoInsurance: Self = Self(1);
20 #[doc(alias = "INBillTypeCable")]
21 #[deprecated = "INBillType is deprecated. There is no replacement."]
22 pub const Cable: Self = Self(2);
23 #[doc(alias = "INBillTypeCarLease")]
24 #[deprecated = "INBillType is deprecated. There is no replacement."]
25 pub const CarLease: Self = Self(3);
26 #[doc(alias = "INBillTypeCarLoan")]
27 #[deprecated = "INBillType is deprecated. There is no replacement."]
28 pub const CarLoan: Self = Self(4);
29 #[doc(alias = "INBillTypeCreditCard")]
30 #[deprecated = "INBillType is deprecated. There is no replacement."]
31 pub const CreditCard: Self = Self(5);
32 #[doc(alias = "INBillTypeElectricity")]
33 #[deprecated = "INBillType is deprecated. There is no replacement."]
34 pub const Electricity: Self = Self(6);
35 #[doc(alias = "INBillTypeGas")]
36 #[deprecated = "INBillType is deprecated. There is no replacement."]
37 pub const Gas: Self = Self(7);
38 #[doc(alias = "INBillTypeGarbageAndRecycling")]
39 #[deprecated = "INBillType is deprecated. There is no replacement."]
40 pub const GarbageAndRecycling: Self = Self(8);
41 #[doc(alias = "INBillTypeHealthInsurance")]
42 #[deprecated = "INBillType is deprecated. There is no replacement."]
43 pub const HealthInsurance: Self = Self(9);
44 #[doc(alias = "INBillTypeHomeInsurance")]
45 #[deprecated = "INBillType is deprecated. There is no replacement."]
46 pub const HomeInsurance: Self = Self(10);
47 #[doc(alias = "INBillTypeInternet")]
48 #[deprecated = "INBillType is deprecated. There is no replacement."]
49 pub const Internet: Self = Self(11);
50 #[doc(alias = "INBillTypeLifeInsurance")]
51 #[deprecated = "INBillType is deprecated. There is no replacement."]
52 pub const LifeInsurance: Self = Self(12);
53 #[doc(alias = "INBillTypeMortgage")]
54 #[deprecated = "INBillType is deprecated. There is no replacement."]
55 pub const Mortgage: Self = Self(13);
56 #[doc(alias = "INBillTypeMusicStreaming")]
57 #[deprecated = "INBillType is deprecated. There is no replacement."]
58 pub const MusicStreaming: Self = Self(14);
59 #[doc(alias = "INBillTypePhone")]
60 #[deprecated = "INBillType is deprecated. There is no replacement."]
61 pub const Phone: Self = Self(15);
62 #[doc(alias = "INBillTypeRent")]
63 #[deprecated = "INBillType is deprecated. There is no replacement."]
64 pub const Rent: Self = Self(16);
65 #[doc(alias = "INBillTypeSewer")]
66 #[deprecated = "INBillType is deprecated. There is no replacement."]
67 pub const Sewer: Self = Self(17);
68 #[doc(alias = "INBillTypeStudentLoan")]
69 #[deprecated = "INBillType is deprecated. There is no replacement."]
70 pub const StudentLoan: Self = Self(18);
71 #[doc(alias = "INBillTypeTrafficTicket")]
72 #[deprecated = "INBillType is deprecated. There is no replacement."]
73 pub const TrafficTicket: Self = Self(19);
74 #[doc(alias = "INBillTypeTuition")]
75 #[deprecated = "INBillType is deprecated. There is no replacement."]
76 pub const Tuition: Self = Self(20);
77 #[doc(alias = "INBillTypeUtilities")]
78 #[deprecated = "INBillType is deprecated. There is no replacement."]
79 pub const Utilities: Self = Self(21);
80 #[doc(alias = "INBillTypeWater")]
81 #[deprecated = "INBillType is deprecated. There is no replacement."]
82 pub const Water: Self = Self(22);
83}
84
85unsafe impl Encode for INBillType {
86 const ENCODING: Encoding = NSInteger::ENCODING;
87}
88
89unsafe impl RefEncode for INBillType {
90 const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
91}