#[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§
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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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
Tests for
self and other values to be equal, and is used by ==.Auto 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