#[repr(transparent)]pub struct EKReminderPriority(pub NSUInteger);
Available on crate feature
EKTypes
only.Expand description
A priority for a reminder.
RFC 5545 allows priority to be specified with an integer in the range of 0-9, with 0 representing an undefined priority, 1 the highest priority, and 9 the lowest priority. Clients are encouraged to use these values when setting a reminders’s priority, but is is possible to specify any integer value from 0 to 9.
See also Apple’s documentation
Tuple Fields§
§0: NSUInteger
Implementations§
Trait Implementations§
Source§impl Clone for EKReminderPriority
impl Clone for EKReminderPriority
Source§fn clone(&self) -> EKReminderPriority
fn clone(&self) -> EKReminderPriority
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 EKReminderPriority
impl Debug for EKReminderPriority
Source§impl Encode for EKReminderPriority
impl Encode for EKReminderPriority
Source§impl Hash for EKReminderPriority
impl Hash for EKReminderPriority
Source§impl Ord for EKReminderPriority
impl Ord for EKReminderPriority
Source§fn cmp(&self, other: &EKReminderPriority) -> Ordering
fn cmp(&self, other: &EKReminderPriority) -> 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 EKReminderPriority
impl PartialEq for EKReminderPriority
Source§impl PartialOrd for EKReminderPriority
impl PartialOrd for EKReminderPriority
Source§impl RefEncode for EKReminderPriority
impl RefEncode for EKReminderPriority
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 EKReminderPriority
impl Eq for EKReminderPriority
impl StructuralPartialEq for EKReminderPriority
Auto Trait Implementations§
impl Freeze for EKReminderPriority
impl RefUnwindSafe for EKReminderPriority
impl Send for EKReminderPriority
impl Sync for EKReminderPriority
impl Unpin for EKReminderPriority
impl UnwindSafe for EKReminderPriority
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.