pub struct ToolSchemaOutput {
pub schema_version: u32,
pub name: String,
pub version: String,
pub description: String,
pub tools: Vec<ToolDefinition>,
}Expand description
Top-level schema output with envelope metadata.
Fields§
§schema_version: u32Schema version.
name: StringTool name.
version: StringTool version.
description: StringTool description.
tools: Vec<ToolDefinition>Available commands/tools.
Trait Implementations§
Source§impl Clone for ToolSchemaOutput
impl Clone for ToolSchemaOutput
Source§fn clone(&self) -> ToolSchemaOutput
fn clone(&self) -> ToolSchemaOutput
Returns a duplicate of the value. Read more
1.0.0 · 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 ToolSchemaOutput
impl Debug for ToolSchemaOutput
Source§impl<'de> Deserialize<'de> for ToolSchemaOutput
impl<'de> Deserialize<'de> for ToolSchemaOutput
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 ToolSchemaOutput
impl RefUnwindSafe for ToolSchemaOutput
impl Send for ToolSchemaOutput
impl Sync for ToolSchemaOutput
impl Unpin for ToolSchemaOutput
impl UnsafeUnpin for ToolSchemaOutput
impl UnwindSafe for ToolSchemaOutput
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