pub struct ListToolsResult {
pub tools: Vec<ToolDefinition>,
pub next_cursor: Option<String>,
}👎Deprecated since 0.14.0:
MCP wire types now come from rmcp::model, the reference SDK, which tracks protocol revisions for us — these hand-rolled types are pinned to MCP 2025-11-25 and do not model 2026-07-28. Scheduled for removal in 0.15.0.
Expand description
Response payload for tools/list.
Fields§
§tools: Vec<ToolDefinition>👎Deprecated since 0.14.0:
§MCP wire types now come from rmcp::model, the reference SDK, which tracks protocol revisions for us — these hand-rolled types are pinned to MCP 2025-11-25 and do not model 2026-07-28. Scheduled for removal in 0.15.0.
next_cursor: Option<String>👎Deprecated since 0.14.0:
MCP wire types now come from rmcp::model, the reference SDK, which tracks protocol revisions for us — these hand-rolled types are pinned to MCP 2025-11-25 and do not model 2026-07-28. Scheduled for removal in 0.15.0.
Trait Implementations§
Source§impl Clone for ListToolsResult
impl Clone for ListToolsResult
Source§fn clone(&self) -> ListToolsResult
fn clone(&self) -> ListToolsResult
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 ListToolsResult
impl Debug for ListToolsResult
Source§impl<'de> Deserialize<'de> for ListToolsResult
impl<'de> Deserialize<'de> for ListToolsResult
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 ListToolsResult
impl RefUnwindSafe for ListToolsResult
impl Send for ListToolsResult
impl Sync for ListToolsResult
impl Unpin for ListToolsResult
impl UnsafeUnpin for ListToolsResult
impl UnwindSafe for ListToolsResult
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