pub struct DecideOnly {
pub kind: String,
pub rules: Vec<String>,
}Expand description
The policy rules of one kind that only the hook applies.
Fields§
§kind: Stringshell, env.read, env.set, mcp or executables; fs.read or
fs.write for hook_only groups.
rules: Vec<String>Rule group ids, or program names for executables.
Trait Implementations§
Source§impl Clone for DecideOnly
impl Clone for DecideOnly
Source§impl Debug for DecideOnly
impl Debug for DecideOnly
impl Eq for DecideOnly
Source§impl PartialEq for DecideOnly
impl PartialEq for DecideOnly
Source§impl Serialize for DecideOnly
impl Serialize for DecideOnly
impl StructuralPartialEq for DecideOnly
Auto Trait Implementations§
impl Freeze for DecideOnly
impl RefUnwindSafe for DecideOnly
impl Send for DecideOnly
impl Sync for DecideOnly
impl Unpin for DecideOnly
impl UnsafeUnpin for DecideOnly
impl UnwindSafe for DecideOnly
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