Enum scratchstack_aspen::Decision
source · [−]pub enum Decision {
Allow,
Deny,
DefaultDeny,
}Expand description
The outcome of a policy evaluation.
Variants
Allow
Allow the request if no other statements or policies deny it.
Deny
Deny the request unconditionally.
DefaultDeny
Deny the request if no other statements or policies allow it.
Trait Implementations
impl Eq for Decision
impl StructuralEq for Decision
impl StructuralPartialEq for Decision
Auto Trait Implementations
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnwindSafe for Decision
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more