pub struct Implementation {
pub name: String,
pub version: Option<String>,
pub title: Option<String>,
}Expand description
Identifies a protocol implementation — the software (and build) on one end
of the connection, as distinct from the {@link AgentInfo | agent persona} it
hosts. Carried as {@link InitializeParams.clientInfo | clientInfo} on the
client side and {@link InitializeResult.serverInfo | serverInfo} on the
server side, mirroring LSP’s clientInfo/serverInfo and MCP’s
Implementation.
This is informational only: it exists for logging, telemetry, an
about/status affordance, and — as a last resort — a known-issue workaround
for a specific buggy build. It is not a feature-detection mechanism.
Feature availability stays with the capability model
({@link ClientCapabilities} and the various *.capabilities declarations);
implementations SHOULD NOT gate protocol behaviour on parsing
{@link Implementation.version | version}.
Fields§
§name: StringImplementation name, e.g. a product or package identifier.
version: Option<String>Implementation version. A SemVer string is recommended but not required.
title: Option<String>Optional human-readable display name.
Trait Implementations§
Source§impl Clone for Implementation
impl Clone for Implementation
Source§fn clone(&self) -> Implementation
fn clone(&self) -> Implementation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Implementation
impl Debug for Implementation
Source§impl<'de> Deserialize<'de> for Implementation
impl<'de> Deserialize<'de> for Implementation
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>,
Source§impl PartialEq for Implementation
impl PartialEq for Implementation
Source§fn eq(&self, other: &Implementation) -> bool
fn eq(&self, other: &Implementation) -> bool
self and other values to be equal, and is used by ==.