pub struct Call {
pub method: String,
pub args: Vec<Arg>,
pub path_scope: Option<String>,
pub redact: bool,
pub read_only: bool,
pub tool_allows_process: bool,
pub budget: Budget,
}Expand description
A request as a provider sees it.
Fields§
§method: StringMethod name.
args: Vec<Arg>Arguments in order.
path_scope: Option<String>Path restriction inherited from the capability, when present.
redact: boolWhether the caller asked for redacted output.
read_only: boolWhether the capability is read-only.
tool_allows_process: boolWhether the capability’s tool policy grants process execution.
budget: BudgetEffective budget (capability ∩ lane) for this call.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Call
Auto Trait Implementations§
impl Freeze for Call
impl RefUnwindSafe for Call
impl Send for Call
impl Sync for Call
impl Unpin for Call
impl UnsafeUnpin for Call
impl UnwindSafe for Call
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