#[repr(transparent)]pub struct es_authorization_rule_class_t(pub u32);Available on macOS only.
Expand description
The class of rules used to evaluate the petition for a specific authorization right
Tuple Fields§
§0: u32Implementations§
Variants available from macOS 14.0.0 onwards
sourcepub const ES_AUTHORIZATION_RULE_CLASS_USER: es_authorization_rule_class_t = _
Available on crate feature macos_14_0_0 only.
pub const ES_AUTHORIZATION_RULE_CLASS_USER: es_authorization_rule_class_t = _
macos_14_0_0 only.Right is judged on user properties
sourcepub const ES_AUTHORIZATION_RULE_CLASS_RULE: es_authorization_rule_class_t = _
Available on crate feature macos_14_0_0 only.
pub const ES_AUTHORIZATION_RULE_CLASS_RULE: es_authorization_rule_class_t = _
macos_14_0_0 only.Right is judged by a tree of sub-rules
sourcepub const ES_AUTHORIZATION_RULE_CLASS_MECHANISM: es_authorization_rule_class_t = _
Available on crate feature macos_14_0_0 only.
pub const ES_AUTHORIZATION_RULE_CLASS_MECHANISM: es_authorization_rule_class_t = _
macos_14_0_0 only.Right is judged by one or more plugins
sourcepub const ES_AUTHORIZATION_RULE_CLASS_ALLOW: es_authorization_rule_class_t = _
Available on crate feature macos_14_0_0 only.
pub const ES_AUTHORIZATION_RULE_CLASS_ALLOW: es_authorization_rule_class_t = _
macos_14_0_0 only.Right is always granted
sourcepub const ES_AUTHORIZATION_RULE_CLASS_DENY: es_authorization_rule_class_t = _
Available on crate feature macos_14_0_0 only.
pub const ES_AUTHORIZATION_RULE_CLASS_DENY: es_authorization_rule_class_t = _
macos_14_0_0 only.Right is always denied
sourcepub const ES_AUTHORIZATION_RULE_CLASS_UNKNOWN: es_authorization_rule_class_t = _
Available on crate feature macos_14_0_0 only.
pub const ES_AUTHORIZATION_RULE_CLASS_UNKNOWN: es_authorization_rule_class_t = _
macos_14_0_0 only.Right is unknown
sourcepub const ES_AUTHORIZATION_RULE_CLASS_INVALID: es_authorization_rule_class_t = _
Available on crate feature macos_14_0_0 only.
pub const ES_AUTHORIZATION_RULE_CLASS_INVALID: es_authorization_rule_class_t = _
macos_14_0_0 only.Right is invalid
Last value for macOS 14.0.0
sourcepub const LAST_14_0_0: es_authorization_rule_class_t = es_authorization_rule_class_t::ES_AUTHORIZATION_RULE_CLASS_INVALID
Available on crate feature macos_14_0_0 only.
pub const LAST_14_0_0: es_authorization_rule_class_t = es_authorization_rule_class_t::ES_AUTHORIZATION_RULE_CLASS_INVALID
macos_14_0_0 only.Easily identifiable name for the last member of macOS 14.0.0
Trait Implementations§
source§fn clone(&self) -> es_authorization_rule_class_t
fn clone(&self) -> es_authorization_rule_class_t
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§fn cmp(&self, other: &es_authorization_rule_class_t) -> Ordering
fn cmp(&self, other: &es_authorization_rule_class_t) -> 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§fn eq(&self, other: &es_authorization_rule_class_t) -> bool
fn eq(&self, other: &es_authorization_rule_class_t) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§fn partial_cmp(&self, other: &es_authorization_rule_class_t) -> Option<Ordering>
fn partial_cmp(&self, other: &es_authorization_rule_class_t) -> 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 moreAuto Trait Implementations§
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