pub struct ApprovalRequest {
pub call_id: String,
pub name: String,
pub risk: ToolRisk,
pub cwd: PathBuf,
pub summary: String,
pub command: Option<String>,
}Fields§
§call_id: String§name: String§risk: ToolRisk§cwd: PathBuf§summary: StringWhat the call will do, for the person deciding: display text only.
command: Option<String>The exact command the call runs, such as a bash call’s script or a
relayed agent’s shell command, which the policy’s command gates match.
Trait Implementations§
Source§impl Clone for ApprovalRequest
impl Clone for ApprovalRequest
Auto Trait Implementations§
impl Freeze for ApprovalRequest
impl RefUnwindSafe for ApprovalRequest
impl Send for ApprovalRequest
impl Sync for ApprovalRequest
impl Unpin for ApprovalRequest
impl UnsafeUnpin for ApprovalRequest
impl UnwindSafe for ApprovalRequest
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