objc2-intents 0.3.2

Bindings to the Intents framework
Documentation
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use objc2::__framework_prelude::*;

use crate::*;

/// [Apple's documentation](https://developer.apple.com/documentation/intents/inbilltype?language=objc)
// NS_ENUM
#[deprecated = "INBillType is deprecated. There is no replacement."]
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct INBillType(pub NSInteger);
impl INBillType {
    #[doc(alias = "INBillTypeUnknown")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const Unknown: Self = Self(0);
    #[doc(alias = "INBillTypeAutoInsurance")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const AutoInsurance: Self = Self(1);
    #[doc(alias = "INBillTypeCable")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const Cable: Self = Self(2);
    #[doc(alias = "INBillTypeCarLease")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const CarLease: Self = Self(3);
    #[doc(alias = "INBillTypeCarLoan")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const CarLoan: Self = Self(4);
    #[doc(alias = "INBillTypeCreditCard")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const CreditCard: Self = Self(5);
    #[doc(alias = "INBillTypeElectricity")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const Electricity: Self = Self(6);
    #[doc(alias = "INBillTypeGas")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const Gas: Self = Self(7);
    #[doc(alias = "INBillTypeGarbageAndRecycling")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const GarbageAndRecycling: Self = Self(8);
    #[doc(alias = "INBillTypeHealthInsurance")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const HealthInsurance: Self = Self(9);
    #[doc(alias = "INBillTypeHomeInsurance")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const HomeInsurance: Self = Self(10);
    #[doc(alias = "INBillTypeInternet")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const Internet: Self = Self(11);
    #[doc(alias = "INBillTypeLifeInsurance")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const LifeInsurance: Self = Self(12);
    #[doc(alias = "INBillTypeMortgage")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const Mortgage: Self = Self(13);
    #[doc(alias = "INBillTypeMusicStreaming")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const MusicStreaming: Self = Self(14);
    #[doc(alias = "INBillTypePhone")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const Phone: Self = Self(15);
    #[doc(alias = "INBillTypeRent")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const Rent: Self = Self(16);
    #[doc(alias = "INBillTypeSewer")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const Sewer: Self = Self(17);
    #[doc(alias = "INBillTypeStudentLoan")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const StudentLoan: Self = Self(18);
    #[doc(alias = "INBillTypeTrafficTicket")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const TrafficTicket: Self = Self(19);
    #[doc(alias = "INBillTypeTuition")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const Tuition: Self = Self(20);
    #[doc(alias = "INBillTypeUtilities")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const Utilities: Self = Self(21);
    #[doc(alias = "INBillTypeWater")]
    #[deprecated = "INBillType is deprecated. There is no replacement."]
    pub const Water: Self = Self(22);
}

unsafe impl Encode for INBillType {
    const ENCODING: Encoding = NSInteger::ENCODING;
}

unsafe impl RefEncode for INBillType {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}