Struct objc2_user_notifications::UNErrorCode
source · #[repr(transparent)]pub struct UNErrorCode(pub NSInteger);
Available on crate feature
UNError
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl UNErrorCode
impl UNErrorCode
pub const NotificationsNotAllowed: Self = _
pub const AttachmentInvalidURL: Self = _
pub const AttachmentUnrecognizedType: Self = _
pub const AttachmentInvalidFileSize: Self = _
pub const AttachmentNotInDataStore: Self = _
pub const AttachmentMoveIntoDataStoreFailed: Self = _
pub const AttachmentCorrupt: Self = _
pub const NotificationInvalidNoDate: Self = _
pub const NotificationInvalidNoContent: Self = _
pub const ContentProvidingObjectNotAllowed: Self = _
pub const ContentProvidingInvalid: Self = _
pub const BadgeInputInvalid: Self = _
Trait Implementations§
source§impl Clone for UNErrorCode
impl Clone for UNErrorCode
source§fn clone(&self) -> UNErrorCode
fn clone(&self) -> UNErrorCode
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 UNErrorCode
impl Debug for UNErrorCode
source§impl Encode for UNErrorCode
impl Encode for UNErrorCode
source§impl Hash for UNErrorCode
impl Hash for UNErrorCode
source§impl Ord for UNErrorCode
impl Ord for UNErrorCode
source§fn cmp(&self, other: &UNErrorCode) -> Ordering
fn cmp(&self, other: &UNErrorCode) -> 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 UNErrorCode
impl PartialEq for UNErrorCode
source§fn eq(&self, other: &UNErrorCode) -> bool
fn eq(&self, other: &UNErrorCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UNErrorCode
impl PartialOrd for UNErrorCode
source§fn partial_cmp(&self, other: &UNErrorCode) -> Option<Ordering>
fn partial_cmp(&self, other: &UNErrorCode) -> 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 UNErrorCode
impl RefEncode for UNErrorCode
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 UNErrorCode
impl Eq for UNErrorCode
impl StructuralPartialEq for UNErrorCode
Auto Trait Implementations§
impl Freeze for UNErrorCode
impl RefUnwindSafe for UNErrorCode
impl Send for UNErrorCode
impl Sync for UNErrorCode
impl Unpin for UNErrorCode
impl UnwindSafe for UNErrorCode
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.