pub struct PermissionView {
pub evaluated: String,
pub policy: String,
pub matched: String,
pub reason: Option<String>,
}Expand description
The declarative gate’s decision for a tool call, which has already run
(§4.4 ordering). Field shape matches the tool/call.permission
provenance object (ADR-015; reason rides only a deny).
Fields§
§evaluated: String§policy: String§matched: String§reason: Option<String>Trait Implementations§
Source§impl Clone for PermissionView
impl Clone for PermissionView
Source§impl Debug for PermissionView
impl Debug for PermissionView
Auto Trait Implementations§
impl Forget for PermissionView
impl Freeze for PermissionView
impl Move for PermissionView
impl RefUnwindSafe for PermissionView
impl Send for PermissionView
impl Sync for PermissionView
impl Unpin for PermissionView
impl UnsafeUnpin for PermissionView
impl UnwindSafe for PermissionView
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