pub enum DenialClass {
ApmCommandDenial,
OutsideWorktree,
UnknownPattern,
}Expand description
Classification of a permission denial.
Variants§
ApmCommandDenial
Denied a Bash call whose command starts with apm . APM should never
deny its own commands; this indicates a default-allowlist gap.
OutsideWorktree
Denied an Edit or Write whose path falls outside the ticket worktree.
UnknownPattern
Any other denial not matching the two patterns above.
Trait Implementations§
Source§impl Clone for DenialClass
impl Clone for DenialClass
Source§fn clone(&self) -> DenialClass
fn clone(&self) -> DenialClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DenialClass
impl Debug for DenialClass
Source§impl<'de> Deserialize<'de> for DenialClass
impl<'de> Deserialize<'de> for DenialClass
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DenialClass
impl PartialEq for DenialClass
Source§fn eq(&self, other: &DenialClass) -> bool
fn eq(&self, other: &DenialClass) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DenialClass
impl Serialize for DenialClass
impl StructuralPartialEq for DenialClass
Auto Trait Implementations§
impl Freeze for DenialClass
impl RefUnwindSafe for DenialClass
impl Send for DenialClass
impl Sync for DenialClass
impl Unpin for DenialClass
impl UnsafeUnpin for DenialClass
impl UnwindSafe for DenialClass
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