pub struct AuthorizationResult<'a> { /* private fields */ }
Available on crate feature
macos_14_0_0
and macOS only.Expand description
Describes, for a single right, the class of that right and if it was granted
Implementations§
Source§impl<'a> AuthorizationResult<'a>
impl<'a> AuthorizationResult<'a>
Sourcepub fn right_name(&self) -> &'a OsStr
pub fn right_name(&self) -> &'a OsStr
The name of the right being considered
Sourcepub fn rule_class(&self) -> es_authorization_rule_class_t
pub fn rule_class(&self) -> es_authorization_rule_class_t
The class of the right being considered
The rule class determines how the operating system determines if it should be granted or not
Trait Implementations§
Source§impl<'a> Debug for AuthorizationResult<'a>
impl<'a> Debug for AuthorizationResult<'a>
Source§impl<'a> Hash for AuthorizationResult<'a>
impl<'a> Hash for AuthorizationResult<'a>
Source§impl<'a> PartialEq for AuthorizationResult<'a>
impl<'a> PartialEq for AuthorizationResult<'a>
impl<'a> Eq for AuthorizationResult<'a>
impl Send for AuthorizationResult<'_>
Auto Trait Implementations§
impl<'a> Freeze for AuthorizationResult<'a>
impl<'a> RefUnwindSafe for AuthorizationResult<'a>
impl<'a> !Sync for AuthorizationResult<'a>
impl<'a> Unpin for AuthorizationResult<'a>
impl<'a> UnwindSafe for AuthorizationResult<'a>
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