pub struct ClientDetails {
pub client_info: Implementation,
pub capabilities: ClientCapabilities,
}Expand description
Client identity and capabilities for an MCP client.
The 2026-07-28 protocol has no initialize handshake: these details are declared
on every request via _meta (RequestMetaObject) — see
io.modelcontextprotocol/clientInfo and io.modelcontextprotocol/clientCapabilities.
Fields§
§client_info: Implementation§capabilities: ClientCapabilitiesTrait Implementations§
Source§impl Clone for ClientDetails
impl Clone for ClientDetails
Source§fn clone(&self) -> ClientDetails
fn clone(&self) -> ClientDetails
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 moreAuto Trait Implementations§
impl Freeze for ClientDetails
impl RefUnwindSafe for ClientDetails
impl Send for ClientDetails
impl Sync for ClientDetails
impl Unpin for ClientDetails
impl UnsafeUnpin for ClientDetails
impl UnwindSafe for ClientDetails
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