pub struct CachedTool {
pub name: String,
pub description: Option<String>,
pub input_schema: Value,
}Expand description
Cached tool metadata (persisted to disk for fast startup).
Fields§
§name: String§description: Option<String>§input_schema: ValueTrait Implementations§
Source§impl Clone for CachedTool
impl Clone for CachedTool
Source§fn clone(&self) -> CachedTool
fn clone(&self) -> CachedTool
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 moreSource§impl Debug for CachedTool
impl Debug for CachedTool
Source§impl<'de> Deserialize<'de> for CachedTool
impl<'de> Deserialize<'de> for CachedTool
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CachedTool
impl RefUnwindSafe for CachedTool
impl Send for CachedTool
impl Sync for CachedTool
impl Unpin for CachedTool
impl UnsafeUnpin for CachedTool
impl UnwindSafe for CachedTool
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