pub struct ToolCatalogItem {
pub id: String,
pub name: String,
pub description: String,
pub parameters: Option<Value>,
pub source: ToolCatalogSource,
}Fields§
§id: StringStable catalog id (tool:<name>, duplicates suffixed #2, #3…).
name: StringCanonical tool name; resolves back to the executable ToolSpec.
description: String§parameters: Option<Value>Redacted parameter schema; None when dropped for size.
source: ToolCatalogSourceTrait Implementations§
Source§impl Clone for ToolCatalogItem
impl Clone for ToolCatalogItem
Source§fn clone(&self) -> ToolCatalogItem
fn clone(&self) -> ToolCatalogItem
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 ToolCatalogItem
impl Debug for ToolCatalogItem
Source§impl<'de> Deserialize<'de> for ToolCatalogItem
impl<'de> Deserialize<'de> for ToolCatalogItem
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
Source§impl PartialEq for ToolCatalogItem
impl PartialEq for ToolCatalogItem
Source§fn eq(&self, other: &ToolCatalogItem) -> bool
fn eq(&self, other: &ToolCatalogItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ToolCatalogItem
impl Serialize for ToolCatalogItem
impl StructuralPartialEq for ToolCatalogItem
Auto Trait Implementations§
impl Freeze for ToolCatalogItem
impl RefUnwindSafe for ToolCatalogItem
impl Send for ToolCatalogItem
impl Sync for ToolCatalogItem
impl Unpin for ToolCatalogItem
impl UnsafeUnpin for ToolCatalogItem
impl UnwindSafe for ToolCatalogItem
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