pub struct InitializeResult {
pub protocol_version: String,
pub server_info: ServerInfo,
pub capabilities: Option<ServerCapabilities>,
}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
The result payload of an initialize response.
Fields§
§protocol_version: StringMCP 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.
server_info: ServerInfoMCP 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.
capabilities: Option<ServerCapabilities>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 InitializeResult
impl Clone for InitializeResult
Source§fn clone(&self) -> InitializeResult
fn clone(&self) -> InitializeResult
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more