pub struct ToolRequest {
pub caller: String,
pub tool: String,
pub subject: Option<String>,
pub effect: Effect,
pub arg_keys: Vec<String>,
pub arg_bytes: usize,
}Expand description
Content-free description of one intended call (no argument values).
Fields§
§caller: String§tool: String§subject: Option<String>§effect: Effect§arg_keys: Vec<String>Top-level argument names, never values.
arg_bytes: usizeTrait Implementations§
Source§impl Clone for ToolRequest
impl Clone for ToolRequest
Auto Trait Implementations§
impl Freeze for ToolRequest
impl RefUnwindSafe for ToolRequest
impl Send for ToolRequest
impl Sync for ToolRequest
impl Unpin for ToolRequest
impl UnsafeUnpin for ToolRequest
impl UnwindSafe for ToolRequest
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