pub struct AccessDecision {
pub allow: AccessVector,
pub auditallow: AccessVector,
pub auditdeny: AccessVector,
pub flags: u32,
}
Expand description
Encapsulates the result of a permissions calculation, between source & target domains, for a specific class. Decisions describe which permissions are allowed, and whether permissions should be audit-logged when allowed, and when denied.
Fields§
§allow: AccessVector
§auditallow: AccessVector
§auditdeny: AccessVector
§flags: u32
Trait Implementations§
Source§impl Clone for AccessDecision
impl Clone for AccessDecision
Source§fn clone(&self) -> AccessDecision
fn clone(&self) -> AccessDecision
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§impl Debug for AccessDecision
impl Debug for AccessDecision
Source§impl Default for AccessDecision
impl Default for AccessDecision
Source§impl PartialEq for AccessDecision
impl PartialEq for AccessDecision
impl StructuralPartialEq for AccessDecision
Auto Trait Implementations§
impl Freeze for AccessDecision
impl RefUnwindSafe for AccessDecision
impl Send for AccessDecision
impl Sync for AccessDecision
impl Unpin for AccessDecision
impl UnwindSafe for AccessDecision
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)