objc2_identity_lookup/generated/
ILClassificationActions.rs1use objc2::__framework_prelude::*;
4
5use crate::*;
6
7#[repr(transparent)]
12#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
13pub struct ILClassificationAction(pub NSInteger);
14impl ILClassificationAction {
15 #[doc(alias = "ILClassificationActionNone")]
17 pub const None: Self = Self(0);
18 #[doc(alias = "ILClassificationActionReportNotJunk")]
20 pub const ReportNotJunk: Self = Self(1);
21 #[doc(alias = "ILClassificationActionReportJunk")]
23 pub const ReportJunk: Self = Self(2);
24 #[doc(alias = "ILClassificationActionReportJunkAndBlockSender")]
26 pub const ReportJunkAndBlockSender: Self = Self(3);
27}
28
29unsafe impl Encode for ILClassificationAction {
30 const ENCODING: Encoding = NSInteger::ENCODING;
31}
32
33unsafe impl RefEncode for ILClassificationAction {
34 const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
35}