#[repr(C)]pub struct es_authorization_result_t {
pub right_name: es_string_token_t,
pub rule_class: es_authorization_rule_class_t,
pub granted: bool,
}Available on macOS and crate feature
macos_14_0_0 only.Expand description
Describes, for a single right, the class of that right and if it was granted
Fields§
§right_name: es_string_token_tThe name of the right being considered
rule_class: es_authorization_rule_class_tThe class of the right being considered
The rule class determines how the operating system determines if it should be granted or not
granted: boolIndicates if the right was granted or not
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