pub struct TypedToolContext {
pub request: ToolExecutionRequest,
}Expand description
Execution context passed to typed tool handlers.
Fields§
§request: ToolExecutionRequestCanonical core execution request.
Trait Implementations§
Source§impl Clone for TypedToolContext
impl Clone for TypedToolContext
Source§fn clone(&self) -> TypedToolContext
fn clone(&self) -> TypedToolContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TypedToolContext
impl RefUnwindSafe for TypedToolContext
impl Send for TypedToolContext
impl Sync for TypedToolContext
impl Unpin for TypedToolContext
impl UnsafeUnpin for TypedToolContext
impl UnwindSafe for TypedToolContext
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