pub struct CatalogTool {
pub name: String,
pub description: String,
pub schema_json: String,
}Expand description
One tool as found in a tools/list result.
Fields§
§name: String§description: String§schema_json: StringCanonical JSON of the tool’s inputSchema (empty string if absent).
Implementations§
Trait Implementations§
Source§impl Clone for CatalogTool
impl Clone for CatalogTool
Source§fn clone(&self) -> CatalogTool
fn clone(&self) -> CatalogTool
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 CatalogTool
impl RefUnwindSafe for CatalogTool
impl Send for CatalogTool
impl Sync for CatalogTool
impl Unpin for CatalogTool
impl UnsafeUnpin for CatalogTool
impl UnwindSafe for CatalogTool
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