pub struct MCPClientInfo {
pub name: String,
pub version: String,
}
Expand description
MCP client information
Fields§
§name: String
Client name
version: String
Client version
Trait Implementations§
Source§impl Clone for MCPClientInfo
impl Clone for MCPClientInfo
Source§fn clone(&self) -> MCPClientInfo
fn clone(&self) -> MCPClientInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MCPClientInfo
impl Debug for MCPClientInfo
Source§impl<'de> Deserialize<'de> for MCPClientInfo
impl<'de> Deserialize<'de> for MCPClientInfo
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 MCPClientInfo
impl RefUnwindSafe for MCPClientInfo
impl Send for MCPClientInfo
impl Sync for MCPClientInfo
impl Unpin for MCPClientInfo
impl UnwindSafe for MCPClientInfo
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