pub struct ListToolsResultResponse {
pub id: RequestId,
pub result: ListToolsResult,
/* private fields */
}Expand description
Latest MCP Protocol 2026_07_28 A successful response from the server for a {@link ListToolsRequesttools/list} request.
JSON schema
{
"description": "A successful response from the server for a {@link ListToolsRequesttools/list} request.",
"type": "object",
"required": [
"id",
"jsonrpc",
"result"
],
"properties": {
"id": {
"$ref": "#/$defs/RequestId"
},
"jsonrpc": {
"type": "string",
"const": "2.0"
},
"result": {
"$ref": "#/$defs/ListToolsResult"
}
}
}Fields§
§id: RequestId§result: ListToolsResultImplementations§
Trait Implementations§
Source§impl Clone for ListToolsResultResponse
impl Clone for ListToolsResultResponse
Source§fn clone(&self) -> ListToolsResultResponse
fn clone(&self) -> ListToolsResultResponse
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 ListToolsResultResponse
impl Debug for ListToolsResultResponse
Source§impl<'de> Deserialize<'de> for ListToolsResultResponse
impl<'de> Deserialize<'de> for ListToolsResultResponse
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 ListToolsResultResponse
impl RefUnwindSafe for ListToolsResultResponse
impl Send for ListToolsResultResponse
impl Sync for ListToolsResultResponse
impl Unpin for ListToolsResultResponse
impl UnsafeUnpin for ListToolsResultResponse
impl UnwindSafe for ListToolsResultResponse
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