#[repr(transparent)]pub struct EKAuthorizationStatus(pub NSInteger);
Available on crate feature
EKTypes
only.Expand description
This enumerated type is used to indicate the currently granted authorization status for a specific entity type.
may access the service.
The user cannot change this application’s status, possibly due to active restrictions such as parental controls being in place.
See also Apple’s documentation
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl EKAuthorizationStatus
impl EKAuthorizationStatus
pub const NotDetermined: Self
pub const Restricted: Self
pub const Denied: Self
pub const FullAccess: Self
pub const WriteOnly: Self
pub const Authorized: Self
👎Deprecated: Check for full access or write only access
Trait Implementations§
Source§impl Clone for EKAuthorizationStatus
impl Clone for EKAuthorizationStatus
Source§fn clone(&self) -> EKAuthorizationStatus
fn clone(&self) -> EKAuthorizationStatus
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 EKAuthorizationStatus
impl Debug for EKAuthorizationStatus
Source§impl Encode for EKAuthorizationStatus
impl Encode for EKAuthorizationStatus
Source§impl Hash for EKAuthorizationStatus
impl Hash for EKAuthorizationStatus
Source§impl Ord for EKAuthorizationStatus
impl Ord for EKAuthorizationStatus
Source§fn cmp(&self, other: &EKAuthorizationStatus) -> Ordering
fn cmp(&self, other: &EKAuthorizationStatus) -> 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 EKAuthorizationStatus
impl PartialEq for EKAuthorizationStatus
Source§impl PartialOrd for EKAuthorizationStatus
impl PartialOrd for EKAuthorizationStatus
Source§impl RefEncode for EKAuthorizationStatus
impl RefEncode for EKAuthorizationStatus
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 EKAuthorizationStatus
impl Eq for EKAuthorizationStatus
impl StructuralPartialEq for EKAuthorizationStatus
Auto Trait Implementations§
impl Freeze for EKAuthorizationStatus
impl RefUnwindSafe for EKAuthorizationStatus
impl Send for EKAuthorizationStatus
impl Sync for EKAuthorizationStatus
impl Unpin for EKAuthorizationStatus
impl UnwindSafe for EKAuthorizationStatus
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.