#[repr(transparent)]pub struct UNNotificationActionOptions(pub NSUInteger);
Available on crate feature
UNNotificationAction
only.Tuple Fields§
§0: NSUInteger
Implementations§
source§impl UNNotificationActionOptions
impl UNNotificationActionOptions
pub const UNNotificationActionOptionAuthenticationRequired: Self = _
pub const UNNotificationActionOptionDestructive: Self = _
pub const UNNotificationActionOptionForeground: Self = _
Trait Implementations§
source§impl Clone for UNNotificationActionOptions
impl Clone for UNNotificationActionOptions
source§fn clone(&self) -> UNNotificationActionOptions
fn clone(&self) -> UNNotificationActionOptions
Returns a copy 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 UNNotificationActionOptions
impl Debug for UNNotificationActionOptions
source§impl Encode for UNNotificationActionOptions
impl Encode for UNNotificationActionOptions
source§impl Hash for UNNotificationActionOptions
impl Hash for UNNotificationActionOptions
source§impl Ord for UNNotificationActionOptions
impl Ord for UNNotificationActionOptions
source§fn cmp(&self, other: &UNNotificationActionOptions) -> Ordering
fn cmp(&self, other: &UNNotificationActionOptions) -> 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 UNNotificationActionOptions
impl PartialEq for UNNotificationActionOptions
source§fn eq(&self, other: &UNNotificationActionOptions) -> bool
fn eq(&self, other: &UNNotificationActionOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UNNotificationActionOptions
impl PartialOrd for UNNotificationActionOptions
source§fn partial_cmp(&self, other: &UNNotificationActionOptions) -> Option<Ordering>
fn partial_cmp(&self, other: &UNNotificationActionOptions) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for UNNotificationActionOptions
impl RefEncode for UNNotificationActionOptions
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 UNNotificationActionOptions
impl Eq for UNNotificationActionOptions
impl StructuralPartialEq for UNNotificationActionOptions
Auto Trait Implementations§
impl Freeze for UNNotificationActionOptions
impl RefUnwindSafe for UNNotificationActionOptions
impl Send for UNNotificationActionOptions
impl Sync for UNNotificationActionOptions
impl Unpin for UNNotificationActionOptions
impl UnwindSafe for UNNotificationActionOptions
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> 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.