use objc2::__framework_prelude::*;
use crate::*;
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct INMessageAttribute(pub NSInteger);
impl INMessageAttribute {
#[doc(alias = "INMessageAttributeUnknown")]
pub const Unknown: Self = Self(0);
#[doc(alias = "INMessageAttributeRead")]
pub const Read: Self = Self(1);
#[doc(alias = "INMessageAttributeUnread")]
pub const Unread: Self = Self(2);
#[doc(alias = "INMessageAttributeFlagged")]
pub const Flagged: Self = Self(3);
#[doc(alias = "INMessageAttributeUnflagged")]
pub const Unflagged: Self = Self(4);
#[doc(alias = "INMessageAttributePlayed")]
pub const Played: Self = Self(5);
}
unsafe impl Encode for INMessageAttribute {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for INMessageAttribute {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}