#[repr(transparent)]pub struct ILMessageFilterAction(pub NSInteger);Available on crate feature
ILMessageFilterAction only.Expand description
Describes an action to take in response to a received message.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl ILMessageFilterAction
impl ILMessageFilterAction
Sourcepub const None: Self
pub const None: Self
Insufficient information to determine an action to take. In a query response, has the effect of allowing the message to be shown normally.
Sourcepub const Filter: Self
👎Deprecated
pub const Filter: Self
Prevent the message from being shown normally, filtered as Junk message.
Sourcepub const Promotion: Self
pub const Promotion: Self
Prevent the message from being shown normally, filtered as Promotional message.
Sourcepub const Transaction: Self
pub const Transaction: Self
Prevent the message from being shown normally, filtered as Transactional message.
Trait Implementations§
Source§impl Clone for ILMessageFilterAction
impl Clone for ILMessageFilterAction
Source§fn clone(&self) -> ILMessageFilterAction
fn clone(&self) -> ILMessageFilterAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ILMessageFilterAction
impl Debug for ILMessageFilterAction
Source§impl Encode for ILMessageFilterAction
impl Encode for ILMessageFilterAction
Source§impl Hash for ILMessageFilterAction
impl Hash for ILMessageFilterAction
Source§impl Ord for ILMessageFilterAction
impl Ord for ILMessageFilterAction
Source§fn cmp(&self, other: &ILMessageFilterAction) -> Ordering
fn cmp(&self, other: &ILMessageFilterAction) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ILMessageFilterAction
impl PartialEq for ILMessageFilterAction
Source§impl PartialOrd for ILMessageFilterAction
impl PartialOrd for ILMessageFilterAction
Source§impl RefEncode for ILMessageFilterAction
impl RefEncode for ILMessageFilterAction
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for ILMessageFilterAction
impl Eq for ILMessageFilterAction
impl StructuralPartialEq for ILMessageFilterAction
Auto Trait Implementations§
impl Freeze for ILMessageFilterAction
impl RefUnwindSafe for ILMessageFilterAction
impl Send for ILMessageFilterAction
impl Sync for ILMessageFilterAction
impl Unpin for ILMessageFilterAction
impl UnwindSafe for ILMessageFilterAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.