pub struct McpListToolsOutput {
pub id: String,
pub server_label: String,
pub tools: Vec<McpToolInfo>,
pub error: Option<String>,
}
Expand description
Output listing tools available on an MCP server.
Fields§
§id: String
Unique ID of the list request.
server_label: String
Label of the MCP server.
tools: Vec<McpToolInfo>
Tools available on the server with metadata.
error: Option<String>
Error message if listing failed.
Trait Implementations§
Source§impl Clone for McpListToolsOutput
impl Clone for McpListToolsOutput
Source§fn clone(&self) -> McpListToolsOutput
fn clone(&self) -> McpListToolsOutput
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 McpListToolsOutput
impl Debug for McpListToolsOutput
Source§impl<'de> Deserialize<'de> for McpListToolsOutput
impl<'de> Deserialize<'de> for McpListToolsOutput
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 McpListToolsOutput
impl PartialEq for McpListToolsOutput
Source§impl Serialize for McpListToolsOutput
impl Serialize for McpListToolsOutput
impl StructuralPartialEq for McpListToolsOutput
Auto Trait Implementations§
impl Freeze for McpListToolsOutput
impl RefUnwindSafe for McpListToolsOutput
impl Send for McpListToolsOutput
impl Sync for McpListToolsOutput
impl Unpin for McpListToolsOutput
impl UnwindSafe for McpListToolsOutput
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