pub struct ServerDetails {
pub server_info: Implementation,
pub capabilities: ServerCapabilities,
pub instructions: Option<String>,
pub meta: Option<ResultMetaObject>,
}Expand description
Server identity, capabilities and instructions for an MCP server.
The 2026-07-28 protocol has no initialize handshake: these details are
advertised via server/discover (capabilities, instructions, supportedVersions)
and the server identity is stamped on responses via
_meta["io.modelcontextprotocol/serverInfo"].
Fields§
§server_info: Implementation§capabilities: ServerCapabilities§instructions: Option<String>§meta: Option<ResultMetaObject>Auto Trait Implementations§
impl Freeze for ServerDetails
impl RefUnwindSafe for ServerDetails
impl Send for ServerDetails
impl Sync for ServerDetails
impl Unpin for ServerDetails
impl UnsafeUnpin for ServerDetails
impl UnwindSafe for ServerDetails
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