pub enum ApprovalScope {
Call,
Request {
method: String,
url: String,
},
}Expand description
The scope of an approval the agent kernel gave a call (see
ToolCallContext::kernel_approved).
Variants§
Call
This call came through the kernel, which judged it.
Request
One exact inner request (METHOD url) of an outer call the kernel
approved, for example manage_api’s live probe.
Trait Implementations§
Source§impl Clone for ApprovalScope
impl Clone for ApprovalScope
Source§impl Debug for ApprovalScope
impl Debug for ApprovalScope
impl Eq for ApprovalScope
Source§impl PartialEq for ApprovalScope
impl PartialEq for ApprovalScope
impl StructuralPartialEq for ApprovalScope
Auto Trait Implementations§
impl Forget for ApprovalScope
impl Freeze for ApprovalScope
impl Move for ApprovalScope
impl RefUnwindSafe for ApprovalScope
impl Send for ApprovalScopewhere
RawVecInner: Send,
impl Sync for ApprovalScopewhere
RawVecInner: Sync,
impl Unpin for ApprovalScope
impl UnsafeUnpin for ApprovalScope
impl UnwindSafe for ApprovalScopewhere
RawVecInner: UnwindSafe,
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